Sign in to follow this  

sprites again...how to use?

This topic is 4814 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

elo ppl. Can anyone please give me an example where sprites are being used for animation and background in C++; i mean a sample code. I wanna know how to use the bitmaps dynamically. Thanx

Share this post


Link to post
Share on other sites
C++ alone can't do that. You need a 2D graphics API (3D can also do it, but let's forget about that right now) and then follow it's examples.

Here is a list of API's which can do 2D graphics: SDL, OpenGL, Allegro, DirectDraw, Direct3D.

Try SDL at: www.libsdl.org

Share this post


Link to post
Share on other sites

This topic is 4814 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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