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.

Code Snippets / 2D Animation System

Author
Message
Jack LOL
19
Years of Service
User Offline
Joined: 4th Aug 2006
Location: Near the CPU Close to the graphic card
Posted: 20th Mar 2007 22:38
These functions will create milli second delay based animation with images from number to number(ex: 20-30 which means all the 10 images from 20 to 30 will be ran in the animation)

The animation is a sprite that his image will be updated to perform an animation.

Several animation sprites can run at the same time and are seperated using their ID numbers.

Here is an example to show how to use the system with the system itself. (some commands are not used but are self explained)




Sixty Squares
19
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 24th Mar 2007 16:48
Cool.

aluseus GOD
18
Years of Service
User Offline
Joined: 19th Mar 2007
Location: I\'m here. Now I\'m there. I keep moving
Posted: 27th Mar 2007 20:42
Isn't it better to use
create animated sprite
followed by
sprite
then
play sprite?

Login to post a reply

Server time is: 2025-08-09 01:38:45
Your offset time is: 2025-08-09 01:38:45