charbelsako / pacman

made this pacman replica. now with Neuro Evolution
https://charbelsako.github.io/pacman/
0 stars 0 forks source link

Use keyIsDown() to move the user. #3

Closed charbelsako closed 6 years ago

charbelsako commented 6 years ago

The user has to click several times to move around. with the keyIsDown function the user can now press and hold on the arrow keys to move around. Of course the users movement is time limited. i.e the user is only allowed to move every 30 frames.