From c56eea3b4974287b3adf72bf744a4f4784c0d6b6 Mon Sep 17 00:00:00 2001 From: spaciecat <5057054+spaciecat@users.noreply.github.com> Date: Thu, 12 Sep 2019 15:58:12 +1000 Subject: [PATCH] dialogue animation + debugger refactored all the dialogue text animations to use css animation and transforms rather than frame by frame positioning this causes some issues and the code isnt the cleanest, but its already feels smoother so thats a good start! using the devtools for debugging was getting annoying so I added a `Game.debug()` method that toggles a custom debugger that includes a drawer containing links to all points in the script --- index.html | 6 +++- scripts/game/Game.js | 76 +++++++++++++++++++++++++++++++++++--------- styles/game.css | 51 +++++++++++++++++++++++------ 3 files changed, 108 insertions(+), 25 deletions(-) diff --git a/index.html b/index.html index c6bf657..e41af11 100644 --- a/index.html +++ b/index.html @@ -206,8 +206,12 @@ + +
+ + - +