Actually, we can launch our game right now!Ĭlick on this button in the top left of your screen or hit F5.Īll you’ll see for now is a black window opening up called Made in GameMaker Studio 2. This black screen is where everything in our game happens. If you click on it, you should see there’s already an item inside of it called room0.ĭouble-click it and you’ll be taken to a screen that looks like this. Look at the Rooms section in the Resources tab on the right of your screen. We’ll now create the room where our game will take place. You should have 3 sprites inside of your project with centered origin points.
![game maker studio 2 assets game maker studio 2 assets](https://cdn.vox-cdn.com/thumbor/aLbf7CxTE-AZiyV037wT-vhsekE=/0x0:2250x1232/1200x800/filters:focal(445x426:805x786)/cdn.vox-cdn.com/uploads/chorus_image/image/66652279/2020_04_14_13_56_43.0.jpg)
Now, repeat the process with the ball.png and background.png files.
![game maker studio 2 assets game maker studio 2 assets](https://i0.wp.com/csanyk.com/rants/wp-content/uploads/2016/11/GMS2_IDE.png)
You’ll now see that the origin point is in the center of the image, and that its coordinates have been updated. So click on the scrolling menu and choose Middle Centre. It’s currently set to Top Left but in our case we want it to be in the center of the image. It also means that if we rotate the object, it’ll rotate around this point. This is the point we’ll use to know where the object is positioned in the game. In the middle of the sprite window, you can see that the Origin is set to 0x0 and Top Left. Name the newly created sprite sPaddle (it means sprite + paddle). Right click on Sprites, and select Create Sprite From Image(s). You can see there’s a Resources tab on the right side of your screen. The first thing we’ll do is import the assets.
![game maker studio 2 assets game maker studio 2 assets](https://media.giphy.com/media/3oz8xDzBzad9sEKKoE/source.gif)
Now close that window and we’re good to go! In the window that just popped up, change the frames per second to 60 and click Apply. Then open up a new GML project in GMS and save it somewhere.Īfter that, make sure the game is set to run at 60 frames per second.Ĭlick on the Game Options button in the top left of your screen.
#Game maker studio 2 assets trial#
You’ll also need GameMaker Studio 2 (free trial version or any license). First, download the assets here and extract them somewhere.