![]() ![]() BackgroundsĪpart from sprites, you can also have backgrounds in GameMaker: Studio. Set the origin to the center, as before, and then close the editor window. With that done you can close the current sprite properties editor and add another new sprite to the resource tree.Ĭall this sprite “ sprButtonPlay1945” and then add the image with the same name from the resource pack you downloaded. You should set the origin of the sprite to the center (there's a button for that), as that'll make it easier to position within the game room – the origin is simply the point that will be used to “pin” the sprite to an instance of an object. ![]() You can name the sprite – making it easier to know what you are doing in the game code when the games get more complex – so call it “ sprTitle1945” too. ![]() You will need the image named “ sprTitle1945”, so select it and load it into the editor. This will bring up the Sprite Properties Editor window, where you can now click the “ Load Sprite” button and browse to the folder where you unpacked the resources ZIP previously. Sprites are small images that can be animated and displayed in your game, and they can be added either from the IDE buttons at the top, or by right-clicking the sprite resource folder in the resource tree on the left and selecting “ Add Sprite”. The game we are going to make to test and learn about GameMaker: Studio will be a simple top down shooter in the 1945 style, so in GameMaker, let's start by adding in a couple of sprites and by creating an initial “menu” room for the player when the game starts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |