Hi all
Just after a bit of help. I'm currently looking at platform games and am having a bit of trouble with the collision detection of the floor and was wondering if someone could take a quick look and tell me what I'm doing wrong.
I'm going for a Jet Set Willy type game so the player must be able to
- Walk left to right and jump.
- Walk through platform and has the ability to jump up through them to land on them
- walk diagnoly up and down ladders
So far the player keeps getting his feet going through the floor
player ignores the steps
When jumping up to a platform he ends the jump early when he collides with the platform
Tiles1 = Tiles that the player can not pass at all
WalkTiles = Tiles the player can walk on
StepTiles = Tiles used for stairs that the player can walk up and down
DeathTiles = Tiles that kill
I apologise in advance for any messy code and lack of comments