Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

i have an image that i set as background. I use texture Region for my image. i put this in update method.

    batcher.draw(background, 0, 0, 320, 480);

How could i use offset when i swipe my live wallpaper in home screen?

share|improve this question

put on hold as unclear what you're asking by Josh Petrie Dec 18 at 17:58

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

Wouldn't you increment the position and bounds? What have you tried already? If you give us more information on what you've tried and why it didn't work, we're more likely to give you suggestions that are useful to you. –  Byte56 Jun 25 '13 at 14:24
i have write this this on offset change method MainScreen.X_OFFSET = xOffset; do i need to detect gesture? swipe right or left then change the offset? –  user2118097 Jun 26 '13 at 3:06
Yes, the offset would change based on your input. –  Byte56 Jun 26 '13 at 3:14

Browse other questions tagged or ask your own question.