Author Topic: Atlas resolution  (Read 4895 times)

elizeusz

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 10
    • View Profile
Atlas resolution
« on: October 05, 2012, 02:08:11 AM »
Hi is there the way to change resolution of my atlas for example 2048 by 2048 without loosing my spritse in the game ? If i do eh resolution change my sprites are not theseme.

yuewah

  • Full Member
  • ***
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 180
    • View Profile
Re: Atlas resolution
« Reply #1 on: October 05, 2012, 02:54:52 AM »
what altas packer are you using ?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Atlas resolution
« Reply #2 on: October 05, 2012, 09:01:56 AM »
Yup. Change the coordinate system on your atlas by selecting it and choosing "TexCoords". You can then resize the image freely.

nah0y

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 430
  • \o/
    • View Profile
Re: Atlas resolution
« Reply #3 on: October 10, 2012, 05:59:59 AM »
Is there an inconvenient in using TexCoords ? Is it less precise than pixels for example ?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Atlas resolution
« Reply #4 on: October 10, 2012, 09:49:49 AM »
You don't need to keep it active. Once you open up your atlas that got its texture resized, you can switch it back to pixels.

nah0y

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 430
  • \o/
    • View Profile
Re: Atlas resolution
« Reply #5 on: October 10, 2012, 09:51:06 AM »
Okay but is there an advantage / inconvenient about using Tex Coords or Pixels ?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Atlas resolution
« Reply #6 on: October 10, 2012, 09:51:43 AM »
TexCoords doesn't support all features.

nah0y

  • Sr. Member
  • ****
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 430
  • \o/
    • View Profile
Re: Atlas resolution
« Reply #7 on: October 10, 2012, 09:54:04 AM »
Oh yes I see, thanks ;)