Thread: Battleship game
View Single Post
Old
boondocks
Guest
 
Status:
Posts: n/a
Default 05-30-2011, 04:54 PM

hey im still trying to figure this game out and ended up setting up a boundary around my grid to keep the ship inside. The problem is that on the squares in the Y direction will block out the ship from moving past it, but the squares in the X direction wont. i posted what i have so far. the boundary will end up being invisible and the walls will be up. I still want to place the ships on the grid and have tried to come up with if statements to track the location of the ship(not in this world though) but can't really find a solution. Ideally i want to have 1-1 square ship, 1-2 square ship, and 1-3 square ship. If any body has any ideas for this part of my program i would be grateful.
Attached Files
File Type: a2w thegame.a2w (523.9 KB, 16 views)
   
Reply With Quote