Jump to content
  • Advertisement
Sign in to follow this  
ballack

scrolling background game

This topic is 5041 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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!