Well, I'm hoping that explaining this anomaly will turn a light on in someone's head. Here's what I see.
Trying to optimize my app, I noticed that I was only getting about 30 FPS (debug build). It is a scrolling tiled map with 1024 tiles each 32x32 and a little player that moves around (no collison detection yet).
One thing I noticed however is that while moving around in the world, my FPS would all of a sudden jump to between 50&60 FPS and stay there.
Running it through the debugger I was able to somewhat track it down. It appears that it happens (ready for this) if I push the D-Pad down (note down as in South but straight down like a button).
In my ButtonUp and ButtonDown handlers, I receive the following:
ButtonDown: code=134
ButtonUp: code=134
ButtonDown: code=13
ButtonUp: code=13
Well, according to the keylist structure, code 13 doesn't exist. But for some reason, something happens and I get the performance that I'm looking for.
Man, this one is boggling the mind. I hope someone can help.
Trying to optimize my app, I noticed that I was only getting about 30 FPS (debug build). It is a scrolling tiled map with 1024 tiles each 32x32 and a little player that moves around (no collison detection yet).
One thing I noticed however is that while moving around in the world, my FPS would all of a sudden jump to between 50&60 FPS and stay there.
Running it through the debugger I was able to somewhat track it down. It appears that it happens (ready for this) if I push the D-Pad down (note down as in South but straight down like a button).
In my ButtonUp and ButtonDown handlers, I receive the following:
ButtonDown: code=134
ButtonUp: code=134
ButtonDown: code=13
ButtonUp: code=13
Well, according to the keylist structure, code 13 doesn't exist. But for some reason, something happens and I get the performance that I'm looking for.
Man, this one is boggling the mind. I hope someone can help.