Let’s fix this, by upscaling our game from 320x180 to 1280x720. If you run it through the Opera GX target, it will get scaled up, but will be very low-resolution. Run the game, and it will appear in a very small window. Select the “ Instances” layer, and from the Asset Browser, drag obj_game into the room. We only need to place obj_game so it can start the game. GameMaker’s multiplayer system will take care of that. Unlike a usual GameMaker game, we don’t want to place obj_player into the room. That’s our background done – only objects are left. Set the background sprite to spr_background, and enable Horizontal Tile and Vertical Tile. Now in the Layers panel, select the “ Background ” layer. Set the Width and Height to 320 and 180 respectively. Open the Room Settings from the bottom-left part of the Room Editor. Assign spr_projectile to it.įrom the Asset Browser, open the “ Rooms” group, and double-click on “ Room1 ” to edit it. obj_projectile: This is the projectile that the player releases.obj_player: This is used for each player instance.obj_game : This manages the multiplayer game.When the player or projectile rotates, it will rotate from the centre, just as you would expect in real-life. yymps package, and drag it into your GameMaker window to import the sprites I’m using.įor each sprite, set the origin to Middle-Centre. spr_background : An image tiled across the levelĭownload this.spr_projectile : Released by the player.Ĭreate a new project from a blank template. You require a 2022.600+ beta version to use multiplayer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |