Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hmm I have noticed a problem that occurs in all my previous games - the 2D mask of the game will make mistakes on the notebook computer with a smaller screen than the desktop computer, they are stacked together or cannot be displayed I want to know how to solve it |
||||
|
Choose "percentage", instead of "pixel" when setting the position of the 2D overlay.. |
||||
|
@VP But I always use "percentage" instead of pixels |
||||
|
Ah okay, is the game running in fullscreen? If so, maybe it's the resolution set in the publish options if you've selected "fixed resolution" - you can use the option "let desktop decide resolution". To test, run it in window mode and see if the 2D overlay displays properly on both devices - if so, chnage the output to "let desktop decide resolution". |
||||
|
Hi, If you're on windows. Also check scale and layout options: right click on the desktop -> display settings. There is a drop down which reads like "scale apps, texts and etc", if it's a small screen it might be set to 125% or even 150%. Try to set it too 100% and see if this fixes the issue. |
||||
|
@VP Hello, VP I use the fixed window mode to run the game, but when I use my uncle's laptop to run my game, I will find that whether my settings are running at desktop resolution or 800 * 600 resolution, some adjacent 2D masks or single 2D masks will still have the above errors. |
||||
|
@okeoke Hello, okeoke I use a desktop computer rather than a laptop to develop games. I just found this error when I borrowed someone else's laptop to run my game. |
||||
|
If you've made the game with a fixed resolution and your aspect ratio is 16:9, when you use it on the laptop with a resolution of 800:600, that's a 4:3 ratio, instead of 16:9 (widescreen) - so, using screen percentage to position the text will induce errors with different aspect ratio displays. |
|