A quick overview over the project and setting up the basics of the survival shooter game.
This game tutorial series will teach you how to create a simple isometric survival shooter. The player will control a sleepy figure, firing a weapon to kill fluffy zombie plush toys. The enemies will hurt the player when within range. The level will endlessly spawn new enemies at randomly selected spawn points.
In this tutorial we’ll take a quick look at the project and set up some basics in the Makinom editor.
The Unity Project
By now you should’ve downloaded the project, unzipped it and opened it as a Unity project (i.e. don’t import it). You can open the project using the Unity menu: File > Open Project…
The project contains the following folders:
The finished game, containing the complete Makinom project and all schematics, prefabs and the level.
The Makinom gizmo icons.
The free version of Makinom.
You can import the full version to replace it.
- Tutorial Resources
The resources the tutorial will be using, i.e. the ready to use level and prefabs that haven’t yet been set up for Makinom.
The level is located in Assets/Tutorial Resources/Scenes/.
The prefabs are located in Assets/Tutorial Resources/Prefabs/.
Setting up Makinom
We’ll now set up some basics in the Makinom project. Open the Makinom editor (Window > Makinom) – this will create a new Makinom project at Assets/Makinom/Project.asset, in case no project has been created or opened yet.
Check if you’re working on a new project (i.e. not using the Finished Project) in Editor > About in the Project Summary. The Currently Loaded project should be Assets/Makinom/Project.asset, if not, please click on Create New Project and save it at this location.
First, we’ll set up the input keys to control the game. Navigate to Base/Control > Input Keys. The default controls are already set up for us, but we’ll need another input key for firing the weapon.
Set to Fire.
- Input Origin
- Mouse Button
Set to 0.
This will use the left mouse button.
- Click Count
Set to 1.
- Input Handling
That’s it for the input keys.
Navigate to Game > Music and change the following settings of the Default Music.
Set to BGM.
- Audio Clip
Select Background Music.
The clip is located in Assets/Tutorial Resources/Audio/Music/.
- Loop Clip
Enable this setting.
And that’s it – click on Save Settings to save the changes.
Finally, we’ll add Makinom and the background music to the scene. Open the Level 01 scene (found at Assets/Tutorial Resources/Scenes/).
Adding a Game Starter
To add Makinom to the game, we’ll need a game starter. You can learn more about game starters in this how-to.
Add the game starter using the scene wizard (Windows > Scene Wizard). Click on Add Game Starter, select the Makinom project if it’s not already selected (found at Assets/Makinom/Project.asset) and click on Add Game Starter again. The scene wizard will create a new game object and attach the game starter to it.
Move the new game starter object out of the way, e.g. to X=-40, Y=0, Z=0.
Adding the Music
Again, we’ll use the scene wizard to add the background music: Create Object > Music Player
Move the new music player object out of the way (e.g. X=-38, Y=0, Z=0) and change the following settings in the inspector of the Music Player component.
- Play Type
And that’s it for now – save the scene.
The next tutorial will handle the player’s movement controls.