Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 240 bytes modified
parent
239efef950
commit
310147e73c
|
@ -83,6 +83,7 @@ this.runtime = GameLib.Utils.GetRuntime();
|
||||||
this.beforeRender = GameLib.EntityManager.Instance.findComponentById('zjq6ach3jt');
|
this.beforeRender = GameLib.EntityManager.Instance.findComponentById('zjq6ach3jt');
|
||||||
this.keyUp = GameLib.EntityManager.Instance.findComponentById('306204wy29');
|
this.keyUp = GameLib.EntityManager.Instance.findComponentById('306204wy29');
|
||||||
this.touchEnd = GameLib.EntityManager.Instance.findComponentById('0j2wxrtdf2');
|
this.touchEnd = GameLib.EntityManager.Instance.findComponentById('0j2wxrtdf2');
|
||||||
|
this.mouseDown = GameLib.EntityManager.Instance.findComponentById('gzewp2awcf');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Geometries
|
* Geometries
|
||||||
|
@ -1794,6 +1795,9 @@ GameLib.Event.Subscribe(
|
||||||
this.touchEnd.initialized = false;
|
this.touchEnd.initialized = false;
|
||||||
this.touchEnd.entityLoaded = this;
|
this.touchEnd.entityLoaded = this;
|
||||||
|
|
||||||
|
this.mouseDown.initialized = false;
|
||||||
|
this.mouseDown.entityLoaded = this;
|
||||||
|
|
||||||
console.log('starting game snake');
|
console.log('starting game snake');
|
||||||
}.bind(this)
|
}.bind(this)
|
||||||
);
|
);
|
||||||
|
@ -1811,6 +1815,9 @@ GameLib.Event.Subscribe(
|
||||||
this.touchEnd.initialized = false;
|
this.touchEnd.initialized = false;
|
||||||
this.touchEnd.entityLoaded = null;
|
this.touchEnd.entityLoaded = null;
|
||||||
|
|
||||||
|
this.mouseDown.initialized = false;
|
||||||
|
this.mouseDown.entityLoaded = null;
|
||||||
|
|
||||||
console.log('starting game snake');
|
console.log('starting game snake');
|
||||||
}.bind(this)
|
}.bind(this)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue