Choppy Scrolling

This is the place to discuss anything relating to MobGUI

Moderators: heatherlaine, kevinmiller, robinmiller, malte, splash21

Post Reply
KennyR
Posts: 256
Joined: Thu Jan 19, 2012 4:25 am

Choppy Scrolling

Post by KennyR » Sat Apr 14, 2012 3:44 pm

Sorry if this has been covered but I cannot seem to find a fix....Both scrollers on in my program work fine when I use them in the iPad simulator, but when I build and run the application on my physical iPad, the scroller seems choppy and lags a bit...any suggestions on how I can fix this?

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am
Location: Bordeaux, France

Re: Choppy Scrolling

Post by Dixie » Sat Apr 14, 2012 6:14 pm

Kenny...

Read about 'accelerated rendering' that was introduced in 5.0.2

be well

Dixie

KennyR
Posts: 256
Joined: Thu Jan 19, 2012 4:25 am

Re: Choppy Scrolling

Post by KennyR » Sat Apr 14, 2012 10:28 pm

Thanks Dixie....I did try that but it didn't seem to help my issue out...I may be doing it wrong...I am going to take another look today and kick the bushes a bit...I am not sure if this matters or not, but one of my scrollers has approx. 22 different groups of buttons ranging from 1 to 15 buttons per group that appear and disappear as other buttons on the card are pushed. I have been wondering if the fact that I have so many groups in one scroller, if that is the ultimate problem....I can't imagine this to be the case since there are far more complex programs out there that run on the IOS and they seem to be fine...

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7239
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Choppy Scrolling

Post by jacque » Sun Apr 15, 2012 6:34 pm

I wrote a short synopsis about acceleratedRendering which was reproduced here:
<http://livecodejournal.com/forum/viewto ... 43c195#p57>

For best results, set the layermode of the main enclosing group to "dynamic" but do not set the layermode on the sub groups.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

KennyR
Posts: 256
Joined: Thu Jan 19, 2012 4:25 am

Re: Choppy Scrolling

Post by KennyR » Mon Apr 16, 2012 11:47 am

YOU ARE AWESOME! This worked great! I set the layer mode of each object that needed to move to dynamic and that did the trick....I very much appreciate your time and help....I was beginning to think it was hopeless...

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7239
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: Choppy Scrolling

Post by jacque » Mon Apr 16, 2012 6:27 pm

KennyR wrote:YOU ARE AWESOME!
If you get a chance, please mention that to my husband. :)
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply

Return to “MobGUI”