![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on animation in lua help within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; does anyone know how i can animate a player while walking??? (i.e. making the legs move when he moves??) i ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() Enter Custom Title
|
does anyone know how i can animate a player while walking???
(i.e. making the legs move when he moves??) i kinda get how but im not shure how to code it
Last edited by waywardson; 04-11-2007 at 09:37 PM.. |
|
|
|
|
|
#2 |
![]() ![]() ![]() Retired PSP Developer
|
you would get more help if you make the title more descriptive
![]() lost count of the # of threads named "lua"
__________________
|
|
|
|
|
|
#7 |
![]() ![]() ![]() Developer
|
you should take a look at grimfate's "animlib v4" available in the download section. It's easy to use and that may exactly be what you're looking for.
I will soon release a mod of this library to enable images buffering but that animlib may be enough for you. I don't have code to show you but there's a well made readme with the library. Of course like ai3gtmc said, you'll need many frames for your animation. |
|
|
|
|
|
#8 |
![]() ![]() Developer
|
like ai3 said you need a pic of legs down,1 up,other up
then an simple if player_anima=1 then screen:blit(x,y,legs_down ) end if player_anima=2 then screen:blit(x,y,left_leg_ up) end if player_anima=3 then screen:blit(x,y,right_leg _up) end i don't see whats so great about an anim lib as it's extremly simple to do
__________________
1. Failed....again... 2. http://slicer.gibbocool.com/ stay updated on all my projects |
|
|
|
|
|
#9 |
![]() ![]() Developer
|
animlib helps make sprite sheets easier to handle if you've never worked with them before.
__________________
Code & Concept Studio Releases:
|
|
|
|
|
|
#11 | |
![]() ![]() ![]() Developer
|
Quote:
One more advantage I see is that when you use a lib, if it's well spread, people reading your code will automatically understand it as they already know the functions. I don't know if the proverb goes like this in english too, but "do not reinvent the wheel". |
|
|
|
|
![]() |
| Tags |
| animation , lua |
| Thread Tools | |
|
|