hi. i'm new to game design and to purebasic so if this question is stupid sorry.
i'm traing to make a animation of a character depending on the keypressed
but i have around 31 sprites of that character (bmp images) with 4 images is easy but with 31 i'm going crazy. anyone has any example on how to move such a character (with a large number of sprites)?
the character is seen from the top.
10x in advance for any help
2d animation please help
-
z3phir2003
- User

- Posts: 49
- Joined: Wed Jan 12, 2005 3:50 pm
2d animation please help
Registered user of PureBasic 4.02
Please, use the search button and you will find many answers to your question(s)…
Well... for sprite animation look -for example- to the PureTools libraries from Danilo that contain the good AnimSprite library (http://www.purearea.net/pb/english/index.htm)
Well... for sprite animation look -for example- to the PureTools libraries from Danilo that contain the good AnimSprite library (http://www.purearea.net/pb/english/index.htm)
-
z3phir2003
- User

- Posts: 49
- Joined: Wed Jan 12, 2005 3:50 pm
10x for the quick answer
10x for the link the library is good it dose what i need but i need to know any aditional library i use ads anything to my project ? what i mean if it uses more RAM,CPU it makes the exe bigger the the normal Purebasic functions ?
and the animation i wanted can't be made with normal purebasic functions ?
10x for all the help
and the animation i wanted can't be made with normal purebasic functions ?
10x for all the help
Registered user of PureBasic 4.02
You can’t directly perform an animation using one PB instructions.
You need to build your own animation sprite engine.
It is the raison why that some additional PB user libraries exist like Animsprite library.
The first way to build your own animation sprite engine is to use the ClipSprite() function technique.
An explicit coding of this can be found here (click here to go to the french forum associated discussion):
http://www.ifrance.com/dr-dri/Animation.rar
You need to build your own animation sprite engine.
It is the raison why that some additional PB user libraries exist like Animsprite library.
The first way to build your own animation sprite engine is to use the ClipSprite() function technique.
An explicit coding of this can be found here (click here to go to the french forum associated discussion):
http://www.ifrance.com/dr-dri/Animation.rar
