Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by Nathre

Hello everyone. I try to play mario's dead. As many of us remember, when he dies, he jumps and goes down ignoring the collision map. How can i do that? :s

1 decade ago by Nathre

Nevermind, I just set the size: {x: 0, y: 0},

1 decade ago by Nathre

Quote from Nathre
Nevermind, I just set the size: {x: 0, y: 0},


It hits the roofs :(

1 decade ago by Jib

Hey,
take a look at static collision in the docs, like handleMovementTrace function, if your entity has a state/flag/var telling it's dead then it's the right place to avoid the collision map.

1 decade ago by Nathre

Quote from Jib
Hey,
take a look at static collision in the docs, like handleMovementTrace function, if your entity has a state/flag/var telling it's dead then it's the right place to avoid the collision map.


Ty, Jib! <3
Page 1 of 1
« first « previous next › last »