mirror of
https://github.com/wassname/phaser.git
synced 2026-10-04 12:50:39 +08:00
Added in frameName support for animations and easy setting of sprites born from a texture atlas (all for you Jesse!)
This commit is contained in:
1 parent
ebf83609ae
commit
f4bf6c607f
12 files changed
+187
-73
No files matched your search
@@ -23,7 +23,7 @@ class Keyboard {
|
||||
|
||||
public onKeyDown(event: KeyboardEvent) {
|
||||
|
||||
event.preventDefault();
|
||||
//event.preventDefault();
|
||||
|
||||
if (!this._keys[event.keyCode])
|
||||
{
|
||||
@@ -39,7 +39,7 @@ class Keyboard {
|
||||
|
||||
public onKeyUp(event: KeyboardEvent) {
|
||||
|
||||
event.preventDefault();
|
||||
//event.preventDefault();
|
||||
|
||||
if (!this._keys[event.keyCode])
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user