issues
search
djog
/
tank_battalion
Tank Battalion recreation by DJOG Uno's 2020 in processing.
GNU General Public License v3.0
3
stars
0
forks
source link
Collision detection
#16
Closed
rijkvp
closed
4 years ago
rijkvp
commented
4 years ago
[x] Create a function in the grid class that transforms screen coords in to grid nodes. The opposite of what is done when drawing the nodes.
[x] Create a function that gets the adjacent grid nodes of the player
[x] Create a separate tab in processing that contains the collision detection functionality
[x] Stop the movement of the player when colliding with a wall
[x] Prevent the player from moving into walls
rijkvp
commented
4 years ago
It works!