Platformer Question
Hey all.
So i'm making a super mario bro's style platformer. Where I'm running into problems is that I want the player to be able to land on top of a platform but die if he hits the side. My first thought was to add an invisible actor on the sides of the platforms to kill the player, but that seemed inefficient . Just wandering if there is a better way to go about this. TIA
So i'm making a super mario bro's style platformer. Where I'm running into problems is that I want the player to be able to land on top of a platform but die if he hits the side. My first thought was to add an invisible actor on the sides of the platforms to kill the player, but that seemed inefficient . Just wandering if there is a better way to go about this. TIA
Comments
then in the platform section if collide with hero and use math?
i Did something similar where if you touch the enemy you die, but, if your Y is higher then the enemy, he dies (so if you jump on him he dies) so if hero Y>enemy Y set the attrib hero_die to true.
So could u say under the platform rules--if heroX = or < platformX then he shall die!
IDK, i'm on alot of medication, flipping so sick uggggg....i think im missing something...