Component for controlling a platformer character