1 decade ago by dryas
Hi,
in my new game I'm doing some testing with slopes but I got some problems with it.
1) Is it possible to deactivate the "physics" when the player stands on a slope? I mean that the player is moving like normal without sliding or jumping when he moves over a "bumper". I just want to move over a slope like I move on a flat tile. How can I implement it without take away the ability to jump?
2) When I fire a projectile and it hits a collision tile I can call the "kill" method to remove it. If the projectile hits a slope it will climb up the slope but the "kill" is not triggered. Why?!
3) Is it possible to let the player jump higher as longer he presses the jump button? I've seen that this reaction is implemented in Biolab Disaster but not in the jump&run demo. What do I need todo to implement it?!
Thanks for your help!
Best,
Benny
in my new game I'm doing some testing with slopes but I got some problems with it.
1) Is it possible to deactivate the "physics" when the player stands on a slope? I mean that the player is moving like normal without sliding or jumping when he moves over a "bumper". I just want to move over a slope like I move on a flat tile. How can I implement it without take away the ability to jump?
2) When I fire a projectile and it hits a collision tile I can call the "kill" method to remove it. If the projectile hits a slope it will climb up the slope but the "kill" is not triggered. Why?!
3) Is it possible to let the player jump higher as longer he presses the jump button? I've seen that this reaction is implemented in Biolab Disaster but not in the jump&run demo. What do I need todo to implement it?!
Thanks for your help!
Best,
Benny