You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Everyone,
The following code is not working
// Initialize the keyboard input listening
cc.systemEvent.on(cc.SystemEvent.EventType.KEY_DOWN, this.onKeyDown, this); ..
when I run it on Simulator I get an error on that ...
Just to clarify...the above is part of the very 1st Beginner Game tutorial. I like to run it in the Browser and my keyboard is not detected...thank you
Hi Everyone,
The following code is not working
// Initialize the keyboard input listening
cc.systemEvent.on(cc.SystemEvent.EventType.KEY_DOWN, this.onKeyDown, this); ..
when I run it on Simulator I get an error on that ...
Simulator: E/jswrapper (268): ERROR: Uncaught TypeError: Cannot read property 'a' of undefined, location: assets/scripts/Player.js:0:0
Simulator: jsb: ERROR: File ..\manual\jsb_cocos2dx_manual.cpp: Line: 653, Function: invokeJSKeyboardCallback
Simulator: invokeJSKeyboardCallback call function failed!
I have no clue on how to fix this ...any advice will be greatly appreciated.
thank you!
The text was updated successfully, but these errors were encountered: