What determines that your sprite will go to the top of the screen or to the bottom.
I did the lesson for the sdl animation and it has only for Left and right clips.
No matter how much i tried i can't make it work and go up and down.
I think the problem is with the set_clips() function but i still can't understand what.
.The guy isn't using x and y he just using the x by naming it as velocity. I just wanted to modified the code and see how it is to make the sprite go up and down and then re write the whole code by self for making a sprite animate and go up down left and right but i just can't do it.
Any help ??? I don't need code just if the problem is on set_clip() function making something animate and going up and down.
This post has been edited by Hellbroth: 23 August 2009 - 09:46 PM