Jump to content
  • Advertisement
Sign in to follow this  
jagguy2

repeat scroller

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

I have another type of scrolling screen i want to do as a 2D game in vb.net or c# I want a repeat scrolling screen from right to left. TJis is easy enough to do as you shift first column of screen to the back and just keep going. My problem is having a repeat scrolling screen where at some point you add in a few new columns before going top back to the original scrolling columns. SAy I have 30 columns in my world to scroll with 16 rows. I want to scroll through columns 1-10 and display 8 at a time on the screen. I want to keep repeating scrolling through these cols 3 times where the 1st col will get moved to the last col so the whole thing repeats. After these columns scroll through 3 times, i then want cols 11-20 to appear on screen and go through 3 times and then cols 21-30 3 times. How can i do this scenario as this will have 90 columns in total appear on screen and I can just loop 30.

Share this post


Link to post
Share on other sites
Advertisement
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!