Jump to content
  • Advertisement
Sign in to follow this  
YourMothersSancho

Java 2D Vertical Scroller HELP!

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

Advertisement
The best source for Java reference is the J2SE Reference page. Look at the AWT package for especifical information on 2D rendering.

For now, I can only tell you that for the purpose of scrolling, you should use an Image and draw it onto a Canvas. If the background should scroll, then the background image should be moved towards the other direction in the Canvas coordinate system.

You can also check the Java 2D Tutorial. I think it's the best resource in Java 2D rendering, especially for gaming.

I hope this info helps you out. Feel free to PM me if you need further advice. And don't forget to rate me (if you want to).

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!