DragonFireSDK Forum

Programming Discussions => Tips and Tricks => Topic started by: glina126 on February 21, 2013, 10:35:06 am

Title: 60fps?
Post by: glina126 on February 21, 2013, 10:35:06 am
Hey guys! I made a really interesting discovery.. While the main loop runs at 30fps I discovered that the touch "loop" does 2x of that, 60fps.

What am I talking about if it is not a loop at all? Well inside of the OnTouch function we have an event that is responsible for movement. aka event == 2. If you move your finger around the screen that "loop" is actually executed at 60fps. Interesting huh?

How did I measure it? Simple.. counters inside the main loop and the touch "loop". The touch one was 2x the size. Also the images "scroll" or I should say move 2x as fast. Im going to look into implementing 60fps instead of 30fps without touching the screen like you need to right now to run that loop.

I hope someone gets interested :D Because honestly I see 30fps as not enough...
Title: Re: 60fps?
Post by: ollydude on February 25, 2013, 02:32:54 pm
Hi - nice discovery - would be great if someone pulled this off as the current scrolling samples do produce a definite lag.