When you want the game engine to adjust itself: it can be slow because it's physics, what you put in the corner of the screen can come to the middle or shrink
In order not to experience such problems, you should fix the resolution to give the same image to everyone and the screens will automatically enlarge or shrink accordingly.
//For example
//editdisplay(x, y);
editdisplay(1024, 720);
The resolution you entered would be like this
You may have liked this part, if you want, we can continue.