Image of the game on a mobile phone:
As you can see the maze (draw event) has been resized correctly.
But the yellow post-it (draw GUI event) has not been scaled or displayed in the correct location (center of the screen). Same thing with GUI layout (draw GUI event).
Because this is a small stage/room (size) I do not use the artifice of views, I thought that could be because of that the problem, but I enabled the views and did not get any different result.
Picture of the game on a computer (like it should be on the phone):
OBS - One information that can help you to help me solve the problem, is that to draw the post- it I use the following code: draw GUI event draw_sprite(spr_Post,0,640,360);
.
640 is the half screen width of the game and also the room, 360 is half the height of the game screen and also the room.
It seems that somehow the room on the cell phone is different size than 1280x720.
I do not put the following code: draw GUI event draw_sprite(spr_Post,0,room_width/2,room_height/2)
, because there are much larger phases that need views, so the post-it needs to be in the center of the screen of the player, and with this code it ends up being in the center of the phase.
I tested the game on Bluestacks and it did not happen the same as on the phone.