PlayerCollider
The player hitbox / hurtbox / controller or collision object is just a yellow square. Save the one below.
The player hitbox / hurtbox / controller or collision object is just a yellow square. Save the one below.
Take note of the Size and Position settings alongside and add the behaviours.
Take note of the Size and Position settings alongside and add the behaviours.
Note the Platform properties for the player controller.
Note the Platform properties for the player controller.
Setup controls for Keyboard and Gamepad
Setup controls for Keyboard and Gamepad
Add the Keyboard and Gamepad objects to your game.
Add the Keyboard and Gamepad objects to your game.
Code the Keyboard and GamePad Events
Code the Keyboard and GamePad Events
To move the player.
To move the player.
Test that you can move the player box around.
Test that you can move the player box around.
Next we will look at how to use hierarchies to link objects together.
Next we will look at how to use hierarchies to link objects together.