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.

Dark GDK / How do you make a sprite come to a stop over time

Author
Message
negi
13
Years of Service
User Offline
Joined: 16th Feb 2011
Location:
Posted: 8th Dec 2011 06:32
Hay I have been trying to make a sprite speed up and slow down over time like the game asteroids. Any help would be great.

All is revealed with time.
chan
13
Years of Service
User Offline
Joined: 14th Nov 2011
Location:
Posted: 9th Dec 2011 14:41 Edited at: 9th Dec 2011 14:43
you can just do it like this,



and to use it:


and for the time you could use a timer or to be simple is dbTimer(). i will assume you know how to do a simple timer.

-Excellence deals with weak people-
negi
13
Years of Service
User Offline
Joined: 16th Feb 2011
Location:
Posted: 11th Dec 2011 05:52
Thanks for your halp I was able to figure it out I had forgoten to make a timer.

All is revealed with time.

Login to post a reply

Server time is: 2024-11-19 06:38:17
Your offset time is: 2024-11-19 06:38:17