Update: CC - Mouse Move - Moorcow (fsilsam72g.js) 4 bytes modified
parent
e60b69bf0d
commit
622b149ba4
|
@ -4,7 +4,7 @@ if (!this.entityLoaded) {
|
||||||
|
|
||||||
var camera = GameLib.EntityManager.Instance.findComponentById('knwkksjc7n');
|
var camera = GameLib.EntityManager.Instance.findComponentById('knwkksjc7n');
|
||||||
camera.lookAt.x = (-1 * (window.innerWidth / 2 - data.event.x)) * 0.025;//(window.clientWidth/ 2) + data.event.x;
|
camera.lookAt.x = (-1 * (window.innerWidth / 2 - data.event.x)) * 0.025;//(window.clientWidth/ 2) + data.event.x;
|
||||||
camera.lookAt.y = (((window.innerHeight / 2 - data.event.y)) * 0.05) - 8;
|
camera.lookAt.y = (((window.innerHeight / 2 - data.event.y)) * 0.05);
|
||||||
camera.updateInstance();
|
camera.updateInstance();
|
||||||
|
|
||||||
var cursorCamera = GameLib.EntityManager.Instance.findComponentById('b78qx660fo');
|
var cursorCamera = GameLib.EntityManager.Instance.findComponentById('b78qx660fo');
|
||||||
|
|
Loading…
Reference in New Issue