From 9d1d91797b22da36ac43b6f40b796f1626d42897 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Tue, 7 Nov 2017 00:51:59 +0100 Subject: [PATCH] Update: CC - Mouse Move - Moorcow (fsilsam72g.js) 250 bytes modified --- fsilsam72g.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fsilsam72g.js b/fsilsam72g.js index d68dd79..3e17c1a 100644 --- a/fsilsam72g.js +++ b/fsilsam72g.js @@ -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 \ No newline at end of file