0
Answered

How do I control Action of Player?

王璞星 1 month ago in Game Creator updated by Marti (Lead Developer) 1 month ago 5

I want to control the player's actions through the keyboard. What is the convenient and fast way to use? Can't I use Unity Input?

I would appreciate it if you could solve my problem.

Unity version:
2019.2.10f1
Game Creator version:
1.1.2

Answer

Answer

Triggers can be invoked from the keyboard. Change the trigger to Input and select the keyboard key you want to use.

Mapping new keys instead of  WASD will need Unity 2019.4 and an updated GC. However, there is an Action to change the Jump ket from space I think.

Player control using WASD keys is automatic in Game Creator. Maker sure you have added a Player to your scene (not a Character), and a camera motor. Also make sure that the Camera Motor is NOT a child of the player.

Should work fine, hope this helps.

No, I mean in addition to these actions, such as rollover, can I only use Trigger to trigger other actions? Is there any other easy way for Game Creator to use the keyboard to control actions?

Answer

Triggers can be invoked from the keyboard. Change the trigger to Input and select the keyboard key you want to use.

Mapping new keys instead of  WASD will need Unity 2019.4 and an updated GC. However, there is an Action to change the Jump ket from space I think.

Thank you for your answer

Answered

Thank you Paul for answering. 10 points!