Tilemap collisions

Hello. I am currently developing my A-level computer science programming project and at the current stage I need to stop the player character from travelling through the walls of the tilemap. I’ve tried to set the collisions up for the walls but it doesn’t seem to work and unfortunately and neither me or my teacher can figure out the problem. I’ve zipped up the project and attatched it here. I’d really appreciate it if someone could point me in the right direction. Thank you.
project - Copy.zip (434.8 KB)

Both the map and player collision objects are of type “dynamic”, you want the player to be “kinematic” and the map to be either “kinematic” or “static”.

Also, if you look at the collision object of the player it has a mask and group set to “default”. Set the group to “player” and the mask to “wall” etc

2 Likes

Thank you very much, that seems to have fixed it.