![gamemaker 1.4 tutorial files gamemaker 1.4 tutorial files](http://html5gamedevelopment.com/wp-content/uploads/files/cc/f/60/bloglarge/gamemaker-1.png)
Once you're done, let's try out your game by pressing the button at the top left of GameMaker Studio. Be sure to save your work so far by clicking the button!.When the missile collides with an enemy ship, things should happen: Add an event for "Collision" with a "playerMissile".Now open the EnemyShip_parent object again.If you create your own ships later, you'll want to make those children of the enemyShip_parent as well. Repeat the previous step for the "enemyShip2" object. On the left hand side of the Object window, you'll find a field labeled "Parent".Ĭhange the value of this field to the "enemyShip_parent" we just created. Click "OK" to close the "enemyShip_parent" for now, we'll come back to it in a moment.Name this object "enemyShip_parent" and mark it as solid.Right-click ont he "Objects" folder and select "Create Object".Instead, we'll create a "parent object" for the enemy ships and attach events to that. We could add collision events for each one, but this will become cumbersome if we decied to add more enemy ships in the future. You can use the arrows at the left and right to navigate through this tutorial.Īs of right now, we have 2 different enemy objects. When you complete an instruction, you can click on it to mark it as complete. This tutorial is divided into steps, and each step has a list of instructions. The game is over when the player runs out of lives or all enemy ships are destroyed.If a missile hits an enemy, the enemy (and the missile) is destroyed. The player can fire missiles by pressing spacebar.If an enemy's ship passes the bottom of the screen, the player will lose a life.If the player's ship hits an enemy ship, the player will lose a life.Enemies move from the top of the screen to the bottom.The player can move his ship left or right, but it stays at the bottom of the screen.
![gamemaker 1.4 tutorial files gamemaker 1.4 tutorial files](https://img.itch.zone/aW1hZ2UvNTY3NTk2LzM0MTc3NzQucG5n/794x1000/O1ZE9C.png)
The object of our game is for the player to destroy all enemy ships. Some popular fixed shooters include Space Invaders, Galaxian, and Galaga. More specifically, ours will be a fixed shooter. Today we're going to make a basic shooter game!