snapshots being a bit temperamental starting up in simulator

On a whim, and to learn about filters a bit more, I updated my racey game to have a choice of zoomblur and pixelated filters.

When it runs on the simulator, both modes look absolutely awesome (although zoomblur on ipad is too slow, and pixelate doesn’t appear to work).

However, most of the time when I start the project up in the simulator it doesn’t work and I end up with a blank screen.

I need to restart the game (control+R) many times, normally between 5 and 30 times before it actually works. Just wondering what is going on (mac mini, a mere 2gb of ram).

Something about the snapshot appears to not set up right - the more time I give it the more likely it is to work (which may be why I only managed 3 updates per second in that painting code test I published yesterday) - in the simulator when it works, I can :invalidate() every frame and well… damn shame it doesn’t work at 60 fps full screen on the ipad, but I figure I was being optimistic there anyway :wink:

This may be related to a known issue which bit me earlier today b/c I forgot about it.

If you view at less than 100%, snapshots may not work correctly. So make sure you view at 100% scale. On laptops, you may typically view at 50% for retina devices like the iPhone4.

I saw this happen as well, but it isn’t the issue at hand, but I know you have seen the issue in the source I sent, so at least we are on the same page.

This may be related to a known issue which bit me earlier today b/c I forgot about it.

If you view at less than 100%, snapshots may not work correctly. So make sure you view at 100% scale. On laptops, you may typically view at 50% for retina devices like the iPhone4.

I saw this happen as well, but it isn’t the issue at hand, but I know you have seen the issue in the source I sent, so at least we are on the same page.