1
0
mirror of https://github.com/JohnBreaux/Boat-Battle.git synced 2025-02-04 12:28:35 +00:00

Hit/Miss sprites rendered

Added texture function to Fire.gd to load the correct sprites for a hit/miss and make it so that the player cannot fire on positions that they have already fired at.
This commit is contained in:
Chance Atkinson
2021-11-24 00:10:58 -06:00
parent ceb8df329a
commit 1c06faf017
6 changed files with 82 additions and 15 deletions

View File

@@ -40,7 +40,7 @@ __meta__ = {
pause_mode = 2
margin_right = 83.0
margin_bottom = 58.0
dialog_text = "You can't fire outside the board"
dialog_text = "You must select a valid position"
[connection signal="pressed" from="Fire" to="." method="_on_Fire_pressed"]
[connection signal="confirmed" from="FireDialog" to="." method="_on_FireDialog_confirmed"]