feat: add joystick movement with character animations, add smooth camera behaviour with look-ahead effect

This commit is contained in:
Mykyta Slobodianiuk
2026-06-03 13:07:26 +03:00
parent 0003919f4c
commit 0b469df12c
8 changed files with 272 additions and 48 deletions
+4 -3
View File
@@ -80,7 +80,7 @@ canvas {
}
#interactive {
z-index: 10;
z-index: 1001;
position: fixed;
inset: 0;
width: 100%;
@@ -121,12 +121,13 @@ canvas {
}
#joystick_zone {
position: absolute;
position: fixed;
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: 900;
z-index: 1001;
touch-action: auto;
}
@media (orientation: landscape) {