Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Problems Resizing a Level
Started by gamedeveloper Oct 07 2016 10:19 AM

3 replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

gamedeveloper

[GLOBAL: userInfoPane.html]
gamedeveloper
  • Enthusiast

  • 38 posts
  • Corona SDK

Hi,

 

I was wondering what the preferred method is to resize a level once you already have content on the level?

 

I resized a level from:

 

iPhone 6 Portrait (750x1334) single screen,

to

iPad Air Portrait 2x tall (1536x4096),

 

To ensure proper positioning of my existing level content, I set offsets for Y to 2048, which would place my content at the bottom of this new size.  Sadly everything has received overly large offsets, pushing the level content way out of screen boundaries.

 

Ex: a wall tile that was at X:80 Y:200 is now at X:80 Y:41,160

 

Is this expected behaviour?  I've tried several times with several different types of offsets and screen sizes and in each case have gotten very large offsets for my level content. 

 

I would manually re-position everything, but the content consist of far too many assets. (ex: a single background layer has 80 tiles on it).

 

Thanks for any help!

 

 



[TOPIC: post.html]
#2

retrofitProductions

[GLOBAL: userInfoPane.html]
retrofitProductions
  • Contributor

  • 321 posts
  • Corona SDK

This seems like a bug, I will look into this.



[TOPIC: post.html]
#3

retrofitProductions

[GLOBAL: userInfoPane.html]
retrofitProductions
  • Contributor

  • 321 posts
  • Corona SDK

I can confirm this was a bug which has now been fixed, this will be available in the next release (hopefully available in a few days).

 

Thanks



[TOPIC: post.html]
#4

gamedeveloper

[GLOBAL: userInfoPane.html]
gamedeveloper
  • Enthusiast

  • 38 posts
  • Corona SDK

Thanks for the fast response!




[topic_controls]
[/topic_controls]