dash hud tint

This commit is contained in:
2025-11-07 18:08:09 +02:00
parent 48c7ea2e2a
commit 87a8e07aa3
6 changed files with 89 additions and 52 deletions
+5 -2
View File
@@ -67,6 +67,9 @@ export class CharacterControls {
play = 'left'
} else if (!this.currentAction.startsWith('idle')){
play = 'idle'
} else if (this.actionStart == -1){
this.actionStart = 0;
play = 'idle';
}
if (this.currentAction.startsWith('idle') && play.startsWith('idle') && this.actionStart > 10){
@@ -160,7 +163,7 @@ export class CharacterControls {
}
idleReset(){
this.actionStart = 0;
this.currentAction = 'idle'
this.actionStart = -1;
//this.currentAction = 'idle'
}
}