Do this. Do this. Do this. Complete!
Actions are one of the core features behind Game Creator. They allow to animate characters, activate interruptors, move objects, and a long etcetera.
(Example of an Action with two instructions)
To create an Action, right click on the Hierarchy Panel and select
Game Creator → Actions. Alternatively you can also add the Actions component to any Game Object or click on the Actions button from the Game Creator Toolbar.
(Right click → Game Creator → Action)
An Action is a single instruction that when executed "does something". For example, the action Wait puts the execution on hold for a number of seconds.
Here's an example of an action called Play Sound.
To add a new Action click on the Add Action button. A categorized dropdown window will appear. You can navigate using your mouse or the keyboard.
Select which action you want to add and it will automatically be added at the end of the list.
You can configure the behavior of an Action at the end of the component.
(Behavior options: Run in Background & Destroy After Finishing)
Run in backgroundcheckbox is marked the Action will always be executed when called. If the checkbox is left unmarked, if another Actions object is being executed and is set to run in the foreground, the first one won't be executed.
Game Creator is all about fast development. If you want to destroy an Actions object after all its instructions have been executed, mark this checkbox.
Game Creator comes with a wide variety of pre-made Actions that will help you kickstart your project right away. Here's the complete list of Actions that Game Creator comes with.
Game Creator comes with an optimized Audio Manager that reuses audio sources in a ring-buffer so your game doesn't experience hiccups when playing many sound effects at a time. Audio is divided in 2 categories
- Music: Background music set in a loop. You can change it by cross-fading between multiple tracks.
- Sounds: Or Sound Effects. These are small sounds that are played only once.
These Actions allow to easily test your game and spot errors. These won't have any impact on your final game build.
Game Creator has a robust built-in save system that keeps track of most important information in order to safely restore the state of a game when loading a previous game.
Each game save is stored in a slot. Each slot is called Profile and you can store up to 99 different game saves.
For example, if you save the game at a given point in
Profile 3, you can later on reload the game loading the
UI Actions allow Game Creator to interact with UI elements and even create small but useful animations.
Messages section is a work in progress Actions list that will allow you to display information on screen.
There are mainly three types of Variables:
- Global Variables
- Local Variables
- List Variables