Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

How to set entire game resolution?
Started by petergilmour1987 Nov 25 2019 08:42 AM

1 reply to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

petergilmour1987

[GLOBAL: userInfoPane.html]
petergilmour1987
  • Observer

  • 7 posts
  • Corona SDK

How can I set the entire game resolution?

 

For example a game like celeste. Where the resolution is 320x180 and not just upscaled assets.

 

Is there a way to render to a texture and show that or is there something simple I can set in config.lua?



[TOPIC: post.html]
#2

petergilmour1987

[GLOBAL: userInfoPane.html]
petergilmour1987
  • Observer

  • 7 posts
  • Corona SDK

Never mind I figured it out! Works perfectly. I can render 1 group at 320x180 (adjusted for device aspect ratio) and then render the ui on top of that at native res. Thanks guys!




[topic_controls]
[/topic_controls]