feat: add joystick movement with character animations, add smooth camera behaviour with look-ahead effect
This commit is contained in:
+4
-3
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user