Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Part of the screen is missing...
Started by d.mach Apr 17 2018 12:03 AM

5 replies to this topic
lg k8 android screen cut off out of screen border color defense open beta
[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

d.mach

[GLOBAL: userInfoPane.html]
d.mach
  • Contributor

  • 863 posts
  • Corona SDK

While watching some YouTubers play our new game COLOR DEFENSE I have noticed there is a part of the screen missing on the bottom. So some of the game elements are not shown on his device. The player told me he is playing on a LG K8 device. We don't have the device for testing, so we can not reproduce and look whats going on there.

 

Is this a known issue?

 

We are using Coronas Content Properties to correctly place the images on screen and don't have any issues with our test devices or with the devices in the Simulator.

 



[TOPIC: post.html]
#2

SGS

[GLOBAL: userInfoPane.html]
SGS
  • Corona Geek

  • 2,110 posts
  • Corona SDK

Link to video?



[TOPIC: post.html]
#3

d.mach

[GLOBAL: userInfoPane.html]
d.mach
  • Contributor

  • 863 posts
  • Corona SDK

Here is the video I was talking about:

 

And here is one showing how it normally looks like:



[TOPIC: post.html]
#4

SGS

[GLOBAL: userInfoPane.html]
SGS
  • Corona Geek

  • 2,110 posts
  • Corona SDK

Well it looks like you are not respecting a negative offsets. 

 

You need to use display.screenOriginX and display.screenOriginY to find the top and left of the device screen.



[TOPIC: post.html]
#5

d.mach

[GLOBAL: userInfoPane.html]
d.mach
  • Contributor

  • 863 posts
  • Corona SDK

what do you mean by "negative" offsets?

 

The code should work because the "bigger" screens with offsets have this additional space which should be handled by the code... but here it seems it is not handled well but on other devices with offset space it is working.

 

Can you please give an example with some fictional values? Are there different kind of offset values? Is this what you meant with negative offset?



[TOPIC: post.html]
#6

SGS

[GLOBAL: userInfoPane.html]
SGS
  • Corona Geek

  • 2,110 posts
  • Corona SDK

My games run using 800x450 canvas (in config.lua).  Standard HD devices have no offsets.

 

iPhoneX draws at 975, 450 with an offsetX of -87.

iPad draws at 800, 600 with an offsetY of -75.




[topic_controls]
[/topic_controls]