Sign in to follow this  
Brinstar

Sprite movement

Recommended Posts

I need sometype of good tutorial about sprite movement. I am using allegro so any help on allegro sprite movement would aprreciated. I also am currently working on a zelda type game so that type of movement also will be aprriciated thank you.

Share this post


Link to post
Share on other sites
I don't know much about allegro but you're talking about sprite movement ? Obviously if you simply mean movement, just increase or decrease the coordinate x or y values of the sprites. If you're talking about animation, try using different sprites and cycle trough them in an array. There are many ways anyways.

Share this post


Link to post
Share on other sites
Quote:
Original post by Brinstar
I need sometype of good tutorial about sprite movement. I am using allegro
so any help on allegro sprite movement would aprreciated. I also am currently working on a zelda type game so that type of movement also will be aprriciated thank you.


Everything Soryu posted above, plus look into Allegro's very slick rotate/scale functions. They'll make your life much easier when it comes time to have your sprites face different directions =)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this