I have been testing out my latest creation. I am using masks for the first time. On the simulator, everything looks and behaves normal. On both my iPhone 3gs and my 5, I experience no problems too; however, on all iPad devices (iPad 1 and 3) I experience a LOT of lag.
The game Im making is a simple puzzle app. The mask covers the image so only the portion of the piece that is needed is shown. The images xScale and yScale are set to .25 to begin with. There is no lag initially on the iPad, but once about 12 pieces are place, the lag becomes very noticeable. The pieces are set to full size and then remain on the screen until you go back to the title screen.
I’ve attempted to reduce the file size of the pieces as I thought it could be related to using to much memory, but it had no impact on the lag.
My biggest hang up is that it works in the simulator, on an iPhone 3gs and on a 5, but not on any iPad. This does not seem to be memory related (especially since reducing file size had no impact and also there is nothing new loaded as the pieces are placed and no lag initially).
The previous puzzle app I made which uses almost identical code (aside from the masking and some settings) experienced no lag and used more memory.
Any ideas?
Thanks,
Scott [import]uid: 79834 topic_id: 33484 reply_id: 333484[/import]
