Particle system appears to be working
This commit is contained in:
parent
aa281e57b4
commit
73a517edc8
@ -67,7 +67,7 @@ window.onload = function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
emitter.setParticleParent(mainScene);
|
emitter.setParticleParent(mainScene);
|
||||||
emitter.emitting = true;
|
emitter.emitting = true;
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ class KeyboardInput {
|
|||||||
|
|
||||||
|
|
||||||
isPressed (keyCode) {
|
isPressed (keyCode) {
|
||||||
return !!this._keyState[keyCode];
|
return !!this._keyState[keyCode];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user