Hey there! Thanks for opening this thread.
So... I've been working for the last days on a 2D platformer game like FOBS with some Megaman mechanics, but the thing is, my Javascript or C# level is potato, I don't know how to do anything without a tutorial.
What I need to do is creating some kind of variable that's off by default, but that can be enabled when the player collides with a trigger 2d collider. So, the thing I want is that when this variable turns on an animation is played (player bouncing back, tripping and falling to the floor.) , and that if any other enemy collides with him, it will trigger ANOTHER animation and turn off the variable.
Also, it would be nice if the player could turn off the variable by pressing Up when knocked out.
Greetings, and thank you!
So... I've been working for the last days on a 2D platformer game like FOBS with some Megaman mechanics, but the thing is, my Javascript or C# level is potato, I don't know how to do anything without a tutorial.
What I need to do is creating some kind of variable that's off by default, but that can be enabled when the player collides with a trigger 2d collider. So, the thing I want is that when this variable turns on an animation is played (player bouncing back, tripping and falling to the floor.) , and that if any other enemy collides with him, it will trigger ANOTHER animation and turn off the variable.
Also, it would be nice if the player could turn off the variable by pressing Up when knocked out.
Greetings, and thank you!