Hi Guys,
I want to display a short title screen animation as an intro.
Rather than use an array of images stored in my bundle,
and setting a timer to animate the frames, repeat x-number of times, etc.
I have loaded a single image, and used a timer where I can do something
to the image dynamically, and then set it back to the frame,
or I could still do it the usual way, and load different images for the animation
as my timer fires.
What I want to happen, is apply some effect to the image frame by frame,
until the image is destroyed, and then decrement it's transparency to zero.
One example would be to pixellate the image for each frame, until it was
such a mess that you can no longer make out the original image,
but if I were to animate this with any style at all it would require a lot of
images in my bundle if it weren't handled dynamically.
Is there some iOSsy way to slightly mess an image and reuse the result?
I can, and have done this before, by changing data in a bitmap for each frame,
but I have not written the effect I want this time
(making every pixel looking at the colour of it's neighbors or something).
It would be a waste of time, and I don't think I would learn anything putting
in that work, if there is an easy way to do it.
Thanks, Art.
I want to display a short title screen animation as an intro.
Rather than use an array of images stored in my bundle,
and setting a timer to animate the frames, repeat x-number of times, etc.
I have loaded a single image, and used a timer where I can do something
to the image dynamically, and then set it back to the frame,
or I could still do it the usual way, and load different images for the animation
as my timer fires.
What I want to happen, is apply some effect to the image frame by frame,
until the image is destroyed, and then decrement it's transparency to zero.
One example would be to pixellate the image for each frame, until it was
such a mess that you can no longer make out the original image,
but if I were to animate this with any style at all it would require a lot of
images in my bundle if it weren't handled dynamically.
Is there some iOSsy way to slightly mess an image and reuse the result?
I can, and have done this before, by changing data in a bitmap for each frame,
but I have not written the effect I want this time
(making every pixel looking at the colour of it's neighbors or something).
It would be a waste of time, and I don't think I would learn anything putting
in that work, if there is an easy way to do it.
Thanks, Art.