If you want to setup the game to work on most desktops and laptops, on the left side, under room settings change the width to 960 and the height to 640 Code the player object to move Drag the objPlayer object into the room.
This can be seen in the Room Editor’s Layers panel. Make sure you are in the Instances layer of the room.From the Assets Browser, double click room0 or whatever the default room setup is called in GameMaker.To do this click on the 3 dots in the box beside No Sprite. Assign it the sprPlayer sprite you should already have created.Name the object objPlayer – note: You should always prefix your objects with the letters obj.In the Asset Browser / Resource menu area, right-click Object and click Create object.Tutorial 3: Create a player object, movement & animation