Update: CC - Mouse Move - Moorcow (fsilsam72g.js) 250 bytes modified
parent
43bacd4d68
commit
9d1d91797b
|
@ -7,4 +7,9 @@ camera.lookAt.y = (((window.innerHeight / 2 - data.event.y)) * 0.05) - 8;
|
|||
|
||||
camera.updateInstance();
|
||||
|
||||
var cursor = GameLib.EntityManager.Instance.findComponentById('oxpg88pgzv');
|
||||
cursor.position.x = (-1 * (window.innerWidth / 2 - data.event.x)) * 0.025;
|
||||
cursor.position.y = (((window.innerHeight / 2 - data.event.y)) * 0.05);
|
||||
cursor.updateInstance();
|
||||
|
||||
//@ sourceURL=mouseMove.js
|
Loading…
Reference in New Issue