Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
828 views20 pages

Playmaker Game Creator Bridge Documentation

The Playmaker Game Creator Bridge package provides over 170 Playmaker actions to access and control Game Creator. It also includes 45 Game Creator actions that allow controlling Playmaker from within Game Creator. The package bridges the two systems, allowing Game Creator actions and properties to be accessed from Playmaker state machines. Several examples are included to demonstrate controlling characters, cameras, audio, and sending events between the two systems.

Uploaded by

api-570757481
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
828 views20 pages

Playmaker Game Creator Bridge Documentation

The Playmaker Game Creator Bridge package provides over 170 Playmaker actions to access and control Game Creator. It also includes 45 Game Creator actions that allow controlling Playmaker from within Game Creator. The package bridges the two systems, allowing Game Creator actions and properties to be accessed from Playmaker state machines. Several examples are included to demonstrate controlling characters, cameras, audio, and sending events between the two systems.

Uploaded by

api-570757481
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 20

Playmaker and Game Creator Logos used with permission from their respective owners

Playmaker Game Creator Bridge


Version 1.0.0

2021

Documentation
Revision 1.0

1
Index:

Requirements……………………………………………………………………………………………. 1

Package Contents……………………………………………………………………………………… 1

Overview………………………………………………………………………………………………….. 1

Installation & Setup………………………………………………………………………………….. 2

Examples………………………………………………………………………………………………….. 5

List of actions included…………………………………………………………………………… 11

Support & Contact…………………………………………………………………………………. 18

2
Requirements:
This package requires at least Unity3d version 2019.4.6f1 with the installation of Playmaker
version 1.9.2 and Game Creator version 1.1.13. Optionally you can also have Game Creator’s
Module Transitions installed, this can be found at https://hub.gamecreator.io/content/modules.

WARNING!!
DO NOT INSTALL THIS PACKAGE WITHOUT HAVING PLAYMAKER AND GAME
CREATOR PREVIOUSLY INSTALLED!

Package Contents:
• 170 Playmaker actions to access Game Creator
• 5 Playmaker actions to access Game Creator’s Module Transitions
• 45 Game Creator actions to access Playmaker
• 9 Game Creator Variables actions to complement access to Playmaker
• 7 examples demonstrating the new actions usage
• 1 example demonstrating the usage of the Module Transitions actions
• Documentation

Overview:
Playmaker Game Creator Bridge does indeed what its name says. It bridges Playmaker and Game
Creator together. This means that you can run Game Creator actions and set its properties from
Playmaker without needing to define Game Creator actions in the inspector. Most of Game Creator’s
actions have been ported to Playmaker and as per Playmaker style be accessed from the Playmaker
editor, you can then construct your FSMs as per usual. PMGC Bridge also contains Game Creator
actions that allow to access Playmaker, you can send global events, activate/ deactivate FSM and pass
variables from Game Creator (more actions will be available in future updates).

1
Installation & Setup
Install the PMGC Bridge from the Package Manager located in the Window tab of Unity.

(make sure you have selected Packages My Assets in the Package Manager)

Click ‘Download’ and then when prompted ‘Install’, this will install the package.
Once the package is installed you will find a folder named ‘PMGCBridge’ in Unity’s Project
Tab. Clicking in it will show you the following:

2
Here you will see four folders. The folders contain the examples, the actions for Playmaker
and the actions for Game Creator. If you have installed Game Creator’s Module Transitions
then you install the transitions package in the Transitions folder. Once installed the folder
structure will look like in the picture bellow:

You now have another folder ‘Transitions’ that contains the example for the Transitions
Module and its actions.

Once installed you can access the new Playmaker actions from the Action Browser. The
actions will be categorised as below:

3
To access the Game Creator actions simply click ‘add action’ and select Playmaker from the
dropdown menu.

You will then be presented with another menu.

This is where you can find the actions that allow to communicate with Playmaker.

4
Examples:
If you are familiar with the Playmaker and Game Creator ‘modus operandi’ then your
workflow with PMGC Bridge will be exactly the same.

Playmaker:
Let’s make a Game Creator Character ‘clap’ when pressing the ‘A’ key. Create a Game Creator
Character in the Hierarchy.

Don’t forget to add a floor and adjust the Character’s ‘’Y’ position so that it stands slightly
above the floor. Adjust your camera or rotate the Character so that it is facing the camera.

5
Create an empty object in the hierarchy and add a Playmaker FSM to it.

In the Start state add the action ‘Get Key Down’ and set it up as Key A and send event ‘jump’.

Then create another state in the FSM

6
In this new state add the action Game Creator Jump and drag the Character from the
hierarchy and drop it in the action’s slot ‘Specify Game Object’ or select the Character from
the Select Gameobject box. Add a next event action and set it up to send event ‘Finish’. Then
connect the done event to state2 and the finished event to state1.

Click play in Unity’s editor. Press ‘A’ to make the character jump.

Game Creator:
Create a cube in a new scene. Create a Playmaker FSM in the cube you just created.

Create a new state in the FSM. Click the ‘Events’ tab in the Playmaker editor and add an event
called ‘rotate’. Make this event Global by checking its box.

7
Select the State2 and right click on it, choose ‘Add Global Event’ from the dropdown menu
and select the ‘rotate’ event previously created.

We just created a global event. It will look like this:

Click in the ‘State 2’ and add the action ‘Rotate’ from the category transform and fill the X, Y
and Z angles with the value 0.5, make sure to tick every frame

8
Now, create a Game Creator trigger in the hierarchy and set it up to input on key down, key
code ‘space’ key.

In the inspector click the actions slot in the Trigger section, this will add an actions component
to the trigger.

9
Next, in the Hierarchy, select the actions objects under the trigger object.

In the Inspector click ‘add action’ and from the dropdown menu select Playmaker and then
State Machine.

Here select the action ‘Action Send Event to Single Playmaker FSM and drag the gameobject
‘Cube’ from the hierarchy to the slot FSM object (or select from the Select Game Object box),
fill the field ‘FSM Field’ with the exact name of the FSM (in this case ‘FSM’) and fill the field
‘Event Name’ with the global event we want to call (in this case ‘rotate’).

Press play in Unity’s editor, then press ‘Space’ and watch the cube slowly rotate. We just
called a Global event in Playmaker from Game Creator.

10
List of Actions Included:
Playmaker Actions

Category: Game Creator Actions


Action Name Obs:
Game Creator Restart Actions
Game Creator Start Actions
Game Creator Stop Actions
Game Creator Repeat Actions ‘N’ Times

Playmaker Actions
Category: Game Creator Audio
Action Name Obs:
Game Creator Audio Mixer Parameter
Game Creator Audio Snapshot
Game Creator Audio Pause
Game Creator Play Music
Game Creator Play Sound
Game Creator Play Sound 3d
Game Creator Stop All Music
Game Creator Stop All Sounds
Game Creator Stop Music as Audioclip
Game Creator Stop Sound
Game Creator Volume

Playmaker Actions
Category: Game Creator Camera Motor
Action Name Obs:
Game Creator Camera Rotate
Game Creator Camera Shake Burst
Game Creator Camera Shake Sustain
Game Creator Change Adventure Camera Settings
Game Creator Change Camera
Game Creator Change Camera Damping
Game Creator Camera Motor Fov
Game Creator Change Fixed Camera Settings
Game Creator Change Follow Camera Settings
Game Creator Change Fps Camera Settings
Game Creator Change Railway Camera Settings
Game Creator Change Target Camera Settings
Game Creator Set Camera Motor Culling Mask

11
Playmaker Actions
Category: Game Creator Character
Action Name Obs:
Game Creator Character Attach
Game Creator Character Can Jump
Game Creator Character Change State From Animation Clip
Game Creator Character Change State From State Asset
Game Creator Character Follow If using a player character set it as not
controllable before
Game Creator Character Gesture
Game Creator Character Is Controllable
Game Creator Character Move To If using a player character set it as not
controllable before
Game Creator Character Reset State
Game Creator Character Stop Follow If using a player character make sure you
set it as controllable after this action
Game Creator Character Stop Movement If using a player character make sure you
set it as controllable after this action
Game Creator Character Head Track
Game Creator Character Jump
Game Creator Character Override Jump
Game Creator Character Recover from Ragdoll
Game Creator Character Set Ragdoll
Game Creator Stop Character Gesture
Game Creator Teleport If using a player character set it as not
controllable before using this action and
set it as controllable after using the
action.
Game Creator Character Detach
Game Creator Character Reach Hand
Get Game Creator Character Angular Speed
Get Game Creator Character Can Jump
Get Game Creator Character Can Run
Get Game Creator Character Gravity
Get Game Creator Character Height
Get Game Creator Character in Mounted Mode
Get Game Creator Character is Controllable
Get Game Creator Character is Busy
Get Game Creator Character is Using NavMesh
Get Game Creator Character Jump Force
Get Game Creator Character Jump Times
Get Game Creator Character Max Fall Speed
Get Game Creator Character On Land
Get Game Creator Character Push Force
Get Game Creator Character Run Speed
Get Game Creator Character Step
Get Game Creator Character Time Between Jumps
Get Game Creator Character Input Use Acceleration
Get Game Creator Character is Dashing
Get Game Creator Character is Sliding

12
Playmaker Actions
Category: Game Creator Character (Continued)
Action Name Obs:
Set Game Creator Character Direction
Set Game Creator Character Angular Speed
Set Game Creator Character Gravity
Set Game Creator Character in Mounted Mode
Set Game Creator Character Input Type
Set Game Creator Character Jump Key
Set Game Creator Character Jump Times
Set Game Creator Character Max Fall Speed
Set Game Creator Character Model
Set Game Creator Character Push Force
Set Game Creator Character Run Speed
Set Game Creator Character Time Between Jumps
Set Game Creator Character Use Foot IK
Set Game Creator Character Use Hand IK
Set Game Creator Character Use NavMesh
Set Game Creator Character Procedural Landing
Set Game Creator Character Use Smart Head IK
Set Game Creator Input Directional
Set Game Creator Input Follow Pointer
Set Game Creator Input Point And Click
Set Game Creator Input Side Scroll X
Set Game Creator Input Side Scroll Z
Set Game Creator Input Tank Control
Set Game Creator Input Use Acceleration
Set Game Creator Setup Ragdoll
Set Game Creator Character Default State
Set Game Creator Character Jump Force
Set Game Creator Character Visibility
Set Game Creator Controller Settings

Playmaker Actions
Category: Game Creator Global Variables
Action Name Obs:
Get Game Creator Global Bool Value
Get Game Creator Global Number Value
Get Game Creator Global String Value
Get Game Creator Global Color Value
Get Game Creator Global Texture2d Value
Get Game Creator Global Sprite Value
Get Game Creator Global GameObject Value
Get Game Creator Global Vector2 Value
Get Game Creator Global Vector3 Value
Set Game Creator Global Bool Value
Set Game Creator Global Number Value
Set Game Creator Global String Value
Set Game Creator Global Color Value
Set Game Creator Global Texture2d Value
Set Game Creator Global Sprite Value
Set Game Creator Global GameObject Value
Set Game Creator Global Vector2 Value
Set Game Creator Global Vector3 Value

13
Playmaker Actions
Category: Game Creator List Variables
Action Name Obs:
Game Creator Add To List Variable Bool Item
Game Creator Add To List Variable Color Item
Game Creator Add To List Variable GameObject Item
Game Creator Add To List Variable Number Item
Game Creator Add To List Variable Sprite Item
Game Creator Add To List Variable String Item
Game Creator Add To List Variable Texture2d Item
Game Creator Add To List Variable Vector2 Item
Game Creator Add To List Variable Vector3 Item
Game Creator Clear List Variable
Game Creator Remove From List Variable
Get Game Creator List Variable Bool Item
Get Game Creator List Variable Color Item
Get Game Creator List Variable GameObject Item
Get Game Creator List Variable Number Item
Get Game Creator List Variable Sprite Item
Get Game Creator List Variable String Item
Get Game Creator List Variable Texture2d Item
Get Game Creator List Variable Vector2 Item
Get Game Creator List Variable Vector3 Item
Get Game Creator List Variable Length
Set Game Creator List Variable Bool Item
Set Game Creator List Variable Color Item
Set Game Creator List Variable GameObject Item
Set Game Creator List Variable Number Item
Set Game Creator List Variable Sprite Item
Set Game Creator List Variable String Item
Set Game Creator List Variable Texture2d Item
Set Game Creator List Variable Vector2 Item
Set Game Creator List Variable Vector 3Item

14
Playmaker Actions
Category: Game Creator Local Variables
Action Name Obs:
Get Game Creator Local Bool Value
Get Game Creator Local Float Value
Get Game Creator Local String Value
Get Game Creator Local Color Value
Get Game Creator Local Texture2d Value
Get Game Creator Local Sprite Value
Get Game Creator Local GameObject Value
Get Game Creator Local Vector2 Value
Get Game Creator Local Vector3 Value
Set Game Creator Local Bool Value
Set Game Creator Local Float Value
Set Game Creator Local String Value
Set Game Creator Local Color Value
Set Game Creator Local Texture2d Value
Set Game Creator Local Sprite Value
Set Game Creator Local GameObject Value
Set Game Creator Local Vector2 Value
Set Game Creator Local Vector3 Value

Playmaker Actions
Category: Game Creator Misc.
Action Name Obs:
Game Creator Floating Message
Game Creator Hide Simple Message
Game Creator Simple Message
Game Creator Instantiate
Game Creator Instantiate From Pool
Game Creator Pool Object Setup
Game Creator Reset All Variables

Playmaker Actions
Category: Game Creator Save & Load
Action Name Obs:
Game Creator Delete Profile
Game Creator Load Game
Game Creator Load Last Game
Game Creator Save Game
Game Creator Set Current Profile

15
Playmaker Actions
Category: Game Creator Transitions Module
Action Name Obs:
Game Creator Change Camera Fade
Game Creator Change Camera Shape
Game Creator Load Scene Fade
Game Creator Load Scene Loading
Game Creator Load Scene Shape

Game Creator Actions


Category: Playmaker/ Variables
Action Name Obs:
Action Get Bool From Playmaker
Action Get Float From Playmaker
Action Get Int From Playmaker
Action Get String From Playmaker
Action Get Color From Playmaker
Action Get Sprite From Playmaker
Action Get Texture 2d Playmaker
Action Get Gameobject From Playmaker
Action Get Vector2 From Playmaker
Action Get Vector3 From Playmaker
Action Get Bool From Playmaker Array
Action Get Float From Playmaker Array
Action Get Int From Playmaker Array
Action Get String From Playmaker Array
Action Get Color From Playmaker Array
Action Get Sprite From Playmaker Array
Action Get Texture 2d From Playmaker Array
Action Get Gameobject From Playmaker Array
Action Get Vector2 From Playmaker Array
Action Get Vector3 From Playmaker Array
Action Get Length From Playmaker Array
Action Set Bool In Playmaker
Action Set Float In Playmaker
Action Set Int In Playmaker
Action Set Color In Playmaker
Action Set Sprite In Playmaker
Action Set Texture 2d In Playmaker
Action Set Gameobject In Playmaker
Action Set Vector2 In Playmaker
Action Set Vector3 In Playmaker
Action Set Bool In Playmaker Array
Action Set Float In Playmaker Array
Action Set Int In Playmaker Array
Action Set Color In Playmaker Array
Action Set Sprite In Playmaker Array
Action Set Texture 2d In Playmaker Array
Action Set Gameobject In Playmaker Array
Action Set Vector2 In Playmaker Array
Action Set Vector3 In Playmaker Array
Action Set String In Playmaker Array

16
Game Creator Actions
Category: Playmaker/ State Machine
Action Name Obs:
Action Activate Playmaker FSM
Action Broadcast All To Playmaker
Action Send Event To Playmaker Gameobject
Action Send Event To Single Playmaker FSM

Game Creator Actions


Category: Variables
(support for actions related to Playmaker, although there are Game Creator actions that have the
same functionality as these you can’t define a variable for the Index field, the actions below let
you do that)
Action Name Obs:
Action List Variable Add Bool At Index
Action List Variable Add Number At Index
Action List Variable Add String At Index
Action List Variable Add Color At Index
Action List Variable Add Sprite At Index
Action List Variable Add GameObject At Index
Action List Variable Add Texture 2D At Index
Action List Variable Add Vector2 At Index
Action List Variable Add Vector3 At Index
Action Remove From List Variable At Index

Game Creator Actions


Category: Global Variables
Action Name Obs:
Action Get Global Array Bool From Playmaker
Action Get Global Array Float From Playmaker
Action Get Global Array Int From Playmaker
Action Get Global Array String From Playmaker
Action Get Global Array Color From Playmaker
Action Get Global Array Sprite From Playmaker
Action Get Global Array Texture2d From Playmaker
Action Get Global Array Gameobject From Playmaker
Action Get Global Array Vector2 From Playmaker
Action Get Global Array Vector3 From Playmaker
Action Get Global Bool from Playmaker
Action Get Global Float from Playmaker
Action Get Global Int from Playmaker
Action Get Global String from Playmaker
Action Get Global Color from Playmaker
Action Get Global Sprite from Playmaker
Action Get Global Texture2d from Playmaker
Action Get Global Gameobject from Playmaker

17
Game Creator Actions
Category: Global Variables (continued)
Action Name Obs:
Action Get Global Vector2 From Playmaker
Action Get Global Vector3 From Playmaker
Action Set Global Array String In Playmaker
Action Set Global Array Color In Playmaker
Action Set Global Array Sprite In Playmaker
Action Set Global Array Texture2d In Playmaker
Action Set Global Array Gameobject In Playmaker
Action Set Global Array Vector2 In Playmaker
Action Set Global Array Vector3 In Playmaker
Action Set Global Array Bool In Playmaker
Action Set Global Array Float In Playmaker
Action Set Global Float In Playmaker
Action Set Global String In Playmaker
Action Set Global Color In Playmaker
Action Set Global Sprite In Playmaker
Action Set Global Texture2d In Playmaker
Action Set Global Gameobject In Playmaker
Action Set Global Bool In Playmaker
Action Set Global Vector2 In Playmaker
Action Set Global Vector3 In Playmaker

Support & Contact:


Get in touch if you need help, support, report bugs or just to say hello.

https://tic-tac-toc.weebly.com/contact.html

18

You might also like