This step is IMPORTANT if you want to stop the game later and needs to be done before you reset the gameOver function.įunction dispatchKey ( type, key ), Runner. We store the original game over function in a variable. If you see undefined after entering a command correctly, don’t worry that is expected (for those who want to know more, it is the return type of the function we called).įollow the commands to make the dino un-killable. This is where we will enter the commands to tweak the game.Īfter every command press enter.
0 Comments
Leave a Reply. |