Static images in app

gplar

  • Posts: 1115
I´m developing an educational app with text-sound-image combination, and need to store 250 images, 250px by 250px.
I have previously used an actor and stored each image as a single frame animation, which works up to what I´ve used (25 animations), and makes it easy to create the actor and setting the correct animation. 
Now I´m wondering if there´s a limit to the number of animations for an actor, or if I´ll run into space problems.

Anybody been there?

merrak

  • *
  • Posts: 2738
I don't think I've hit 250 animations yet, but I've used a lot in the past with no issues. However, they weren't as big (typically 64 x 128), and only at 1x resolution. I'm not sure if you would run into memory problems or not. I'd keep an eye on the memory requirements to load the actor in the settings -> atlases -> resources tab. At 4x resolution, that seems like it would require quite a bit of memory.

For your purpose, why not use the Image API? It seems like it'd be easier to manage the images that way than creating an animation for each one.

gplar

  • Posts: 1115
Thanks, Merrak. I´ll look into the Image API.  ;)

gplar

  • Posts: 1115