Moving large image
Posted: Sun Dec 11, 2011 11:32 pm
For an iPad app we're working on, we want to animate the movement of a very large image. Doesn't matter whether I use animationEngine or script it myself, I am incapable of doing anything resembling smooth animation. I don't mean "it's a little jumpy", I mean it's doing 4 frames a second.
We have a big image that covers the screen. We want to be able to animate the image to move 200 pixels up, revealing a "Dock" area at the bottom of the card. No matter what I try, I'm getting dismal performance on the iPad. This is with LiveCode 5.0.1.
I've set the layermode of the image to "Dynamic." I'm setting the acceleratedRendering to "True." I'm setting the Quality to "Normal."
If the image were plain, I could just use a visual effect and use two cards to accomplish what I want or even lock the card and do a visual effect unlock. But the image has patterns on it, so none of the visual effects work. Which is unfortunate, because the visual effects work very smoothly.
Any ideas or suggestions appreciated. I would imagine this would be the same problem as someone building a game where the background is moving left to right. At 4 frames a second it'd be ugly.
We have a big image that covers the screen. We want to be able to animate the image to move 200 pixels up, revealing a "Dock" area at the bottom of the card. No matter what I try, I'm getting dismal performance on the iPad. This is with LiveCode 5.0.1.
I've set the layermode of the image to "Dynamic." I'm setting the acceleratedRendering to "True." I'm setting the Quality to "Normal."
If the image were plain, I could just use a visual effect and use two cards to accomplish what I want or even lock the card and do a visual effect unlock. But the image has patterns on it, so none of the visual effects work. Which is unfortunate, because the visual effects work very smoothly.
Any ideas or suggestions appreciated. I would imagine this would be the same problem as someone building a game where the background is moving left to right. At 4 frames a second it'd be ugly.