Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Problem with background scrolling

Author
Message
Kobaltic
12
Years of Service
User Offline
Joined: 24th Jan 2012
Location: PA, USA
Posted: 29th Feb 2012 05:52
I got my background to scroll when the ball gets close to each side. The problem I have is I can't get the screen to stop scrolling. Also the ball stops moving once it reaches the end of the background but the background scrolls right out of risibility. Any help would be great. Thanks.

baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 29th Feb 2012 09:57
Change this line:


...and this one:


You seem to have your vertical and horizontal mixed up but I assume you're making a portrait app? That being the case you should really just change the display aspect ratio.

Kobaltic
12
Years of Service
User Offline
Joined: 24th Jan 2012
Location: PA, USA
Posted: 4th Mar 2012 04:07
Thank you that solved my problem.

Login to post a reply

Server time is: 2024-11-23 05:25:40
Your offset time is: 2024-11-23 05:25:40