Hello Guest

Author Topic: Same size and position in graphics change  (Read 12027 times)

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Same size and position in graphics change
« Reply #15 on: January 27, 2014, 03:09:15 pm »
Thats up to you. You can have the image clip in the lower resolution, load a custom background using Resources.Load for different aspect ratios, etc. Depends on what you want with your game.

Siddharth3322

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Same size and position in graphics change
« Reply #16 on: January 27, 2014, 03:12:34 pm »
Thanks for your suggestions. Now I think over that if I stuck then I will disturb you. Sorry for that.

Siddharth3322

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Same size and position in graphics change
« Reply #17 on: January 29, 2014, 05:48:29 am »
When I switch my current platform to iOS then why my texture of size 1024x1024 become 1024x768 in size?
If I switch my target platform to any other then what changes occur?

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Same size and position in graphics change
« Reply #18 on: January 29, 2014, 11:58:13 am »
It depends on what override you have set up in the camera.
http://2dtoolkit.com/docs/2.4/reference/tk2dcamera.html

Siddharth3322

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Same size and position in graphics change
« Reply #19 on: January 29, 2014, 12:54:40 pm »
Reading last few posts given by you. I think that I have to create textures of size 512x512, 1024x1024 and 2048x2048.
Then which platform texture need to be loaded decided based on device screen resolution and dpi. Am I right in this case?

Siddharth3322

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Same size and position in graphics change
« Reply #20 on: February 12, 2014, 04:41:55 am »
@unikronsoftware, sorry about this repost. But for long time I can't able to solve my problem. If you point some example that it become useful to me and other member also.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Same size and position in graphics change
« Reply #21 on: February 12, 2014, 11:09:20 am »
Please register your copy of 2D Toolkit for further support.