oooh i see.Zitat:
Zitat von SG57
I changed it to:
screen:blit(x1, y1, Player[x].n)
But where does the Player[x].n come into it?
Printable View
oooh i see.Zitat:
Zitat von SG57
I changed it to:
screen:blit(x1, y1, Player[x].n)
But where does the Player[x].n come into it?
I dont think I understand...
Hey - anyone know a good tutorial, or other reference point (including a game) in which I can learn how to set up a sprite system?
a sprite system..? explain more please.Zitat:
Zitat von Spiritbeast
remember the table i made several posts back? thats how.Zitat:
Zitat von fraseyboy
Uh.. you know, sprites? I don't know how else I can put it... animated characters?Zitat:
Zitat von EminentJonFrost
you want to make an animation?
..
how new are you to this?
No, I am not a super lua noobie fresh off my first tutorial. I'll explain what I am trying to do more in depth.Zitat:
Zitat von EminentJonFrost
Lets say if a character is running. The character will display a running animation, which consists of muiltiple pictures, like frames. But, this character will also have a different animation for standing, and also one for jumping. So, I'd start off my saying "if player.motion == "jumping" then display the animation for the player jumping. What I was wondering is how I can implement an animation system.
I just wanted to say to ShockD out there that you have a nice game in the making.
also, spiritbeast, now that i think about it, download shockD's PSPZelda game. In the script file found in there, he has sprites and animation. Look in there to get an idea of how to do it.