Update: CC - Mouse Move - Moorcow (fsilsam72g.js) 250 bytes modified

beta.r3js.org
-=yb4f310 2017-11-07 00:51:59 +01:00
parent 43bacd4d68
commit 9d1d91797b
1 changed files with 5 additions and 0 deletions

View File

@ -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