Actions

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.

Creating an Action

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.

Anatomy of an 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.

When an Action is executed in runtime it will be highlighted in light blue. This is very useful when you want to track which instruction is being executed.

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.

Behavior Options

You can configure the behavior of an Action at the end of the component.

Run in Background

When the Run in background checkbox 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.

In other words, two Actions can't be executed at the same time if they both have the Run in background checkbox unmarked.

Destroy After Finishing

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.

You can accomplish the same behavior using the Destroy action at the end of the container of Actions., though it's faster this way.

You can add an Actions component below a Trigger component and let the Destroy After Finishing option destroy both the Actions and the Trigger. Useful if you want to execute it only once, for example, when picking an item.

Available Actions

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.

If you find an Action that is not documented here, please send us a message at hello@catsoft-studios.com and we'll include it.

Camera

Character

Application

Audio

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.

Debug

These Actions allow to easily test your game and spot errors. These won't have any impact on your final game build.

General

Object

Save & Load

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 Profile 3.

Scene

UI

UI Actions allow Game Creator to interact with UI elements and even create small but useful animations.

Messages

Messages section is a work in progress Actions list that will allow you to display information on screen.

Variables

There are mainly three types of Variables:

  • Global Variables

  • Local Variables

  • List Variables

When referring to either Global Variables, Local Variables and List Variables we'll use the term "Variables" with capital L.

How Game Creator interacts with them is done through the use of the following Actions. For more information about Variables click here.

Last updated