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 / [DBP] Easy 2D animation system

Author
Message
G T R
19
Years of Service
User Offline
Joined: 26th Apr 2005
Location: Dubai, UAE
Posted: 11th Jun 2009 18:05 Edited at: 12th Jun 2009 05:40
some functions I wrote to use in a 2D platform game I am making..

This is the base system, I posted it here a while ago
the problem in this one that it doesn't support multiple instances.

You can clear all the memory used by:
AnimSys_Clear()


Sprite system:
This is the real deal..
I called it the SS (sprite system) I dont know if this fits
but anyway ... this SS uses the animations you load with the
Animation system so you can use the same animation on many objects
with independent speed,frame,etc..


Check the attachment for a full sample.
I know my english is bad.

Snake_x86

Attachments

Login to view attachments
EGG HEAD OF DOOM
15
Years of Service
User Offline
Joined: 21st Sep 2008
Location: The Hacked Hospital Lobby
Posted: 28th Aug 2009 08:51
your English is actually really good. i only saw one error, but most people get just one.

Login to post a reply

Server time is: 2024-05-05 06:44:07
Your offset time is: 2024-05-05 06:44:07