Page 1 of 1

Animated 2D Sprites

Posted: Wed Jul 21, 2010 6:30 pm
by PHP
Hi,

what about new commands for playing animated sprites (2D)?

Actually i'm using the AnimSprite from the PBOSL but it seems like this UserLib is "dead". After every update you have to compile the source of the lib etc.

The commands of this lib:

AnimSprite - The AnimSprite library is designed for playing 2D animations.

CreateAnimSprite()
DisplayAnimSprite()

Automation

SetAnimLoopDelay()
SetAnimLoopDirection()

Frames

SetAnimFrame()
NextAnimFrame()
PrevAnimFrame()

Directions

SetAnimDirection()
NextAnimDirection()
PrevAnimDirection()

Collisions

CollisionAnimAnim()
CollisionAnimSprite()
CollisionSpriteAnim()

Infos

CurrentAnimFrame()
CurrentAnimDirection()
AnimFrameCount()
AnimDirectionCount()
AnimLoopDelay()
AnimLoopDirection()

Re: Animated 2D Sprites

Posted: Sat Jul 24, 2010 6:07 am
by J. Baker

Re: Animated 2D Sprites

Posted: Wed Aug 04, 2010 9:10 pm
by Rook Zimbabwe
But that is for 3D isn't it? I also need 2D animations...

Re: Animated 2D Sprites

Posted: Wed Aug 04, 2010 9:16 pm
by Arctic Fox
Rook Zimbabwe wrote:But that is for 3D isn't it? I also need 2D animations...
See the second post in that thread :wink:

http://www.purebasic.fr/english/viewtop ... 16#p284416