• Advertisement
Sign in to follow this  

Java 2D Vertical Scroller HELP!

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

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