kittykatattack / learningPixi

A step-by-step introduction to making games and interactive media with the Pixi.js rendering engine.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error in the example code for Keyboard Movement

R4N4R4M4 opened this issue · comments

Hi ! Thanks a lot for your PixiJs examples.
I think there is a little error in the example just after the keyboard() function code here :
keyObject.release = () =>) {
The right line code should be :
keyObject.release = () => {

Thanks, fixed 😄