C
Christop777
Guest
Hello, I need your help because I don't know what to do now:
I've just finished my first game for Android and iOS smartphones.
The resolution of my game is fixed : 720x1280 (portrait mode).
"Keep Aspect Ratio" option is on in GameMaker Studio 2.
The game display is fine when running on iPhones devices but on iPad devices, there is black borders on the left and the right of the game area.
I don't want to modify the game area, the aspect ratio is fine, it must not change.
So I would like to display a big background image (like a .png or .jpg) behind my game area which inludes the black borders too ( to replace the black borders with my image).
I've read tips about the GUI layer but it seems the GUI layer displays above the game area. But I would like a GUI layer which displays beneath the game area. How to do that?
Other ideas:
Is it possible to display only a color instead of an image on the GUI layer? To have lighter ressources. Because if I want to display a background image for iPad Pro screen for example, I need a 2732 x 2048 pixels image, this is huge.
And the problem is that GMS2 does not accept sprites more than 2048 x 2048 pixels. How can I resolve this? Can I have a background bigger than 2048 x 2048 pixels?
If not, how do you deal with the 2732 x 2048 iPad Pro screen?
Sorry for so much questions, I'm trying to find an answer looking in all directions. Maybe you can help me..
Thank You
christop777
I've just finished my first game for Android and iOS smartphones.
The resolution of my game is fixed : 720x1280 (portrait mode).
"Keep Aspect Ratio" option is on in GameMaker Studio 2.
The game display is fine when running on iPhones devices but on iPad devices, there is black borders on the left and the right of the game area.
I don't want to modify the game area, the aspect ratio is fine, it must not change.
So I would like to display a big background image (like a .png or .jpg) behind my game area which inludes the black borders too ( to replace the black borders with my image).
I've read tips about the GUI layer but it seems the GUI layer displays above the game area. But I would like a GUI layer which displays beneath the game area. How to do that?
Other ideas:
Is it possible to display only a color instead of an image on the GUI layer? To have lighter ressources. Because if I want to display a background image for iPad Pro screen for example, I need a 2732 x 2048 pixels image, this is huge.
And the problem is that GMS2 does not accept sprites more than 2048 x 2048 pixels. How can I resolve this? Can I have a background bigger than 2048 x 2048 pixels?
If not, how do you deal with the 2732 x 2048 iPad Pro screen?
Sorry for so much questions, I'm trying to find an answer looking in all directions. Maybe you can help me..
Thank You
christop777