I figured out collision! There is probably a better way to do it but it allows for wall sliding which the other system didn’t allow. Now you can stick your face into a wall and slide off of it! It works by checking adjacent tiles and comparing that to the player’s position in the tile. Technically in the system the player isn’t moved to exactly the wall’s plane but instead a little back but this was put in to avoid scaling errors with the wall textures. I gotta think about what I want this project to really become though. I want room over room and probably the walls to be thin slices rather than huge blocks. But I gotta figure out what I want first.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.