SCKChui Learns to Make Games #4: Double-Tap to Run

Channel:
Subscribers:
3,520
Published on ● Video Link: https://www.youtube.com/watch?v=UZbXpAUHWc0



Duration: 1:02:22
1,533 views
14


Despite what I said at the end of the last video, we're going to spend this whole video looking at the new script for translating keyboard input into doing stuff in the game. Basically, single-tap to jump, double-tap to run, double-tap faster to run faster, but because every action uses the same keys, the script has to be more complicated to figure out how the player presses those keys, instead of just what keys are being pressed.

Also, download and play my injury-inducing game here:
http://www.mediafire.com/?bsa71s729w7f224

Extended periods of repetitive motions may lead to injury. You've been warned. But if you find any bugs, please let me know.







Tags:
architecturexgaming
computer
video
game
gaming
gamemaking
design
learning
newbie
Unity
scripting
javascript