Skip to main content
jluzwick's user avatar
jluzwick's user avatar
jluzwick's user avatar
jluzwick
  • Member for 13 years, 10 months
  • Last seen more than 12 years ago
awarded
awarded
revised
Loading…
comment
Android game scrolling background
@Stevanicus I'm editing my answer for additional information that you are requesting, check it out.
comment
Android game scrolling background
@Stevanicus I'm not completely sure what you are asking but the basic idea is you want to separate your drawing calls and your update calls. You should take input and process everything in an update method and after the update method has finished processing everything for the frame, you should draw the frame by calling draw. In the draw method is when you draw everything in opposite order you want it to show up on the screen. (You want to draw your background first). Not sure if this answered your question, if it didn't, can you give me a little more specifics?
awarded
answered
Loading…
awarded