1
0
mirror of https://github.com/JohnBreaux/Boat-Battle.git synced 2024-11-15 13:25:58 +00:00
Commit Graph

16 Commits

Author SHA1 Message Date
hpham474
4eb6a6cad4 Revert "When interacting with something (object or ship) and SFX is played"
This reverts commit a2a0607364.
2021-11-07 20:48:19 -06:00
hpham474
a2a0607364 When interacting with something (object or ship) and SFX is played 2021-11-07 20:42:50 -06:00
tommy-l-ngo
e080b4742f Bug Fix: left click right click moves ship
Made it so that you can't rotate the ships while holding. Only when placed on board can ships then be rotated.
2021-11-07 00:06:16 -05:00
tommy-l-ngo
3f1cdc9081 Bug Fix: Board snap bordering fix 2021-11-01 20:44:44 -05:00
tommy-l-ngo
221608a1e3 Rotation only works on board now
letting the ships be able to be rotated while not on the board caused a few bugs, so I just made it so that you can't rotate the pieces unless it's on board
2021-11-01 20:40:31 -05:00
tommy-l-ngo
223944523d Bug Fix: Rotating ships at the original position would move the other ships left for some reason
- Issue fixed
- Now the ships won't move when rotated in the original position
- might make it so that the ships don't rotate in the original position in general
2021-11-01 15:22:03 -05:00
tommy-l-ngo
254a9d86d4 Rotation fix for ships being rotated after already being placed on board
If rotating the ship hangs the piece off the board, it will move the piece back on the board accordingly
2021-11-01 15:10:12 -05:00
tommy-l-ngo
e4a92faaea Bug Fix: Ship rotating after placed on board are able to hang off
- fixed this by moving ships back inside board when it hangs off after rotating
2021-11-01 00:37:40 -05:00
tommy-l-ngo
cb661106c3 Bug Fix: ships were able to be placed hanging off of the board
- Fixed the issue
- Now ships can only be placed inside/on the board
2021-11-01 00:11:54 -05:00
tommy-l-ngo
16719e3adc Fixed bug
Bug fixed:
- moving the ship piece in place crashes game and triggers debugging
2021-10-31 23:05:22 -05:00
tommy-l-ngo
71cc294774 Merge branch 'main' of https://github.com/StatewideInk/Group12 2021-10-31 22:50:07 -05:00
tommy-l-ngo
df1c43bb0d Snap only when on board
- snaps only when placed on board
- Returns to original position if it isn't
2021-10-31 22:48:20 -05:00
b518f03eeb Improve ship grid alignment when snapping. Fixes #2 2021-10-31 22:04:11 -05:00
f74ad64865 Add handles to ships and improve placement controls; Make the debug menu more aggressive. 2021-10-21 03:18:31 -05:00
0fd0fa63f0 Improve menuing, and convert ships to RigidBody2D for accurate positioning. 2021-10-21 01:24:27 -05:00
Chance Atkinson
06e131834a Click and drag ships, rotate ships
:)
2021-10-20 22:33:14 -05:00