PlayerCollider

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.







Note the Platform properties for the player controller.

Setup controls for Keyboard and Gamepad

Add the Keyboard and Gamepad objects to your game.

Code the Keyboard and GamePad Events

To move the player.

Test that you can move the player box around.

Next we will look at how to use hierarchies to link objects together.