Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / Jump system using physics impulse.

Author
Message
minacio
5
Years of Service
User Offline
Joined: 11th Jun 2018
Location:
Posted: 11th Jun 2018 16:10 Edited at: 11th Jun 2018 16:16
I was trying to use a physics force to build a jump system, so i find in agk commands list an example of it, and i trying to apply this into a different resolution but i can't make the jump work, can you guys help me? Thanks for your attention.


Zoff
AGK Developer
8
Years of Service
User Offline
Joined: 2nd Oct 2015
Location:
Posted: 21st Aug 2018 13:00 Edited at: 21st Aug 2018 13:37
To move left and right I use: SetSpritePhysicsImpulse()
For jumping I use: SetSpritePhysicsVelocity()


keys left, right, up

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-03-29 15:43:17
Your offset time is: 2024-03-29 15:43:17