Sign in to follow this  

scrolling background game

This topic is 4826 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

hi, i want to know how to develop a scrolling background game. i have written a few games without scrolling bg support.i have a game engine written by michael morris(using c++,win32 api) but it does not support scrolling can i get the algorithm to implement scrolling in my games. thank you very much.

Share this post


Link to post
Share on other sites
Have some time to think about it... what defines a game that scroll?

Everything moves in a direction, right?

Simply move everything according to a scrollvector... if you're going for a tilebased scroller, simply make the drawarea one or two tiles bigger than the playarea and use a scrolloffset to draw the tiles/units.

But this is if you write your own engine...if you're using someone's elses, I can't help you. try contacting the author.

Peace!


/Robert

Share this post


Link to post
Share on other sites

This topic is 4826 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