From 1912de6a51c7ed9564cff1e6adb768e88d538c6f Mon Sep 17 00:00:00 2001 From: hudescottes Date: Thu, 6 Jun 2024 00:33:51 +0200 Subject: [PATCH] add immobile as anim --- core/src/main/resources/scripts/player_cleric.json | 13 +++++++++++++ .../src/main/resources/scripts/player_grappler.json | 13 +++++++++++++ core/src/main/resources/scripts/player_mage.json | 13 +++++++++++++ core/src/main/resources/scripts/player_thief.json | 13 +++++++++++++ core/src/main/resources/scripts/player_warrior.json | 13 +++++++++++++ 5 files changed, 65 insertions(+) diff --git a/core/src/main/resources/scripts/player_cleric.json b/core/src/main/resources/scripts/player_cleric.json index 0ef119ac..9effd904 100644 --- a/core/src/main/resources/scripts/player_cleric.json +++ b/core/src/main/resources/scripts/player_cleric.json @@ -73,6 +73,19 @@ }, ] animationConfig: [ + { + frameDuration: 0.15 + animationType: IMMOBILE + texturePaths: [ + sprites/characters/Cleric.png + ] + gridPoints: [ + { + x: 0 + y: 2 + } + ] + } { frameDuration: 0.15 animationType: IDLE diff --git a/core/src/main/resources/scripts/player_grappler.json b/core/src/main/resources/scripts/player_grappler.json index 4222c0ff..f1c7f977 100644 --- a/core/src/main/resources/scripts/player_grappler.json +++ b/core/src/main/resources/scripts/player_grappler.json @@ -73,6 +73,19 @@ }, ] animationConfig: [ + { + frameDuration: 0.15 + animationType: IMMOBILE + texturePaths: [ + sprites/characters/Grappler.png + ] + gridPoints: [ + { + x: 0 + y: 2 + } + ] + } { frameDuration: 0.15 animationType: IDLE diff --git a/core/src/main/resources/scripts/player_mage.json b/core/src/main/resources/scripts/player_mage.json index ce5f6289..6385a148 100644 --- a/core/src/main/resources/scripts/player_mage.json +++ b/core/src/main/resources/scripts/player_mage.json @@ -73,6 +73,19 @@ }, ] animationConfig: [ + { + frameDuration: 0.15 + animationType: IMMOBILE + texturePaths: [ + sprites/characters/Mage.png + ] + gridPoints: [ + { + x: 0 + y: 2 + } + ] + } { frameDuration: 0.15 animationType: IDLE diff --git a/core/src/main/resources/scripts/player_thief.json b/core/src/main/resources/scripts/player_thief.json index ce74a3c7..fa3a0e11 100644 --- a/core/src/main/resources/scripts/player_thief.json +++ b/core/src/main/resources/scripts/player_thief.json @@ -73,6 +73,19 @@ }, ] animationConfig: [ + { + frameDuration: 0.15 + animationType: IMMOBILE + texturePaths: [ + sprites/characters/Thief.png + ] + gridPoints: [ + { + x: 0 + y: 2 + } + ] + } { frameDuration: 0.15 animationType: IDLE diff --git a/core/src/main/resources/scripts/player_warrior.json b/core/src/main/resources/scripts/player_warrior.json index fe2711f3..115d6476 100644 --- a/core/src/main/resources/scripts/player_warrior.json +++ b/core/src/main/resources/scripts/player_warrior.json @@ -73,6 +73,19 @@ }, ] animationConfig: [ + { + frameDuration: 0.15 + animationType: IMMOBILE + texturePaths: [ + sprites/characters/Warrior.png + ] + gridPoints: [ + { + x: 0 + y: 2 + } + ] + } { frameDuration: 0.15 animationType: IDLE