Adding in Functions


GAMEPAD CONTROLS: ADDING IN FUNCTIONS Now let’s look at what you can do in a larger-scale game where your controller is more than just a ‘Gamepad’ because there are very few platforms with only ‘Gamepad’ controls these days. Therefore, what I usually do in this situation is add a function. You can see how everything works. I move it here and then I’ll call it ‘MoveplayerSpeed’ I can add a ‘Touch’ control, a ‘Keyboard’ control,…