Hello Guest

Author Topic: images size  (Read 3919 times)

csotomon

  • Newbie
  • *
  • Posts: 6
    • View Profile
images size
« on: September 04, 2012, 05:40:11 pm »
I am creating a platform game for iPad.

The resolution is 1024x768.

My background is a huge picture (8192x900). In what size must I cut this image  to use in 2dtoolkit?

Additionally I have other images to use as background parallax effect. I can use that as static sprite batcher? or what do U recommend ?

Thanks for your answers

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: images size
« Reply #1 on: September 04, 2012, 05:54:42 pm »
I believe the maximum size for an image in Unity is 4096x4096, so you'll have to split it up manually into 4096 (or smaller) chunks. 1024x900 sounds like a sensible number, that way each sprite is just an image.

I recommend using a static sprite batcher on all the background sprites excluding the one above as they will be a separate image anyway.

csotomon

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: images size
« Reply #2 on: September 04, 2012, 11:32:54 pm »
I'll try.

And thanks again.