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.

Newcomers AppGameKit Corner / Thrust and gravity on a 2d sprite

User Offline
Joined: 15th Feb 2018
Posted: 6th Dec 2018 10:26
Hi guys, I am looking for a working template where gravity and thrust are applied to a sprite. I have tried tacking together bits from the tutorial and always come unstuck in various way... I cannot make thrust and gravity look realistic..

Imagine a space ship with thrusters.... when you press the up button, it should go up.... when you stop thrusting it should slow down until it stops and then fall back down...

I think I have the hang of collisions etc, but this part is doing my head in...

Has anyone seen any templates where this is demonstrated?
AGK Developer
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 6th Dec 2018 23:22 Edited at: 6th Dec 2018 23:25
User Offline
Joined: 15th Feb 2018
Posted: 9th Dec 2018 06:17
Thanks Blink0k. Ill check it out.

Login to post a reply

Server time is: 2018-12-18 18:56:44
Your offset time is: 2018-12-18 18:56:44