Hello Guest

Author Topic: Question about possibilities of animated backgrounds in a 2D game.  (Read 2993 times)

grechzoo

  • Newbie
  • *
  • Posts: 1
    • View Profile
I have ambitious plans for having a looping but fairly long animated background, I'm talking 5-10 seconds loop, so we are talking 240 background images in the least.

I'm just wondering, if this is possible, where do the textures go in a 2D unity project? the ram? or the gpu ram? what about laptops that have hardly any gpu ram, does unity know to put it into the ram instead.

And is it possible to even play 24 hi res images per second (remember again, I'm not talking 1meg+ pngs, but jpegs that will be around 200k per image.)

Is this just a totally stupid idea overall? i can accept that as the answer if it is.

Also I'm posting here because I wonder if 2d toolkit has any features that may help with this ambition.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Question about possibilities of animated backgrounds in a 2D game.
« Reply #1 on: April 26, 2014, 07:34:21 pm »
Jpegs / Pngs have no relevance to the size of the image in memory. Ultimately the size of a texture is fixed (e.g uncompressed 1024x1024 = 4MB without mipmaps) regardless of the image format. It sound like you want video, and while you could do it with sprites, it probably isn't a good solution for that.