From 26c9cf49fb63d0285158f79bba19aa968368a18c Mon Sep 17 00:00:00 2001 From: RandomityGuy <31925790+RandomityGuy@users.noreply.github.com> Date: Fri, 16 Jul 2021 21:52:43 +0530 Subject: [PATCH] attempt alternative janky container thingy which receives the keyboard/mouse events instead for js target, which also enables the site to be scaled and shit, fix camera while oob, fix powerup particles after oobclick respawn, fix movement keys persistence after unfocus, nuke CCD for finish pad --- compile-c.hxml | 3 +-- index.html | 10 +++++++++- marblegame.hl | Bin 1796573 -> 1795758 bytes src/CameraController.hx | 11 +++++++++-- src/Marble.hx | 5 +++-- src/MarbleGame.hx | 27 +++++++++++++++++++++++++-- src/MarbleWorld.hx | 20 ++++++++++++++------ src/Mission.hx | 1 - 8 files changed, 61 insertions(+), 16 deletions(-) diff --git a/compile-c.hxml b/compile-c.hxml index 51d88c1f..d032bc32 100644 --- a/compile-c.hxml +++ b/compile-c.hxml @@ -2,5 +2,4 @@ -lib heaps -lib hlsdl -hl native/marblegame.c ---main Main --debug \ No newline at end of file +--main Main \ No newline at end of file diff --git a/index.html b/index.html index f9b1b44d..34bbf7c8 100644 --- a/index.html +++ b/index.html @@ -14,10 +14,18 @@ width: 100%; height: 100%; } + #pointercontainer { + width: 100%; + height: 100%; + position: absolute; + top: 0; + left: 0; + } +
- +