From d994975b3802e9d655ea9848319f2fe32c1a4e73 Mon Sep 17 00:00:00 2001 From: Espyo Date: Wed, 11 Dec 2024 15:17:22 +0000 Subject: [PATCH] Added Pikmin called animations. --- .../pikmin/blue_pikmin/animations.txt | 25 ++-- .../mob_types/pikmin/bulbmin/animations.txt | 50 ++++++- .../pikmin/purple_pikmin/animations.txt | 25 ++-- .../pikmin/red_pikmin/animations.txt | 25 ++-- .../pikmin/rock_pikmin/animations.txt | 25 ++-- .../pikmin/white_pikmin/animations.txt | 25 ++-- .../pikmin/winged_pikmin/animations.txt | 34 ++--- .../pikmin/yellow_pikmin/animations.txt | 25 ++-- manual/content/changelog.html | 2 +- manual/content/mob_pikmin.html | 2 +- source/documents/todo.txt | 3 +- source/source/mob_fsms/pikmin_fsm.cpp | 127 ++++++++++++------ source/source/mob_types/pikmin_type.cpp | 2 +- source/source/mob_types/pikmin_type.h | 12 +- 14 files changed, 261 insertions(+), 121 deletions(-) diff --git a/game_data/base/mob_types/pikmin/blue_pikmin/animations.txt b/game_data/base/mob_types/pikmin/blue_pikmin/animations.txt index d17adb5d..3d0f4995 100644 --- a/game_data/base/mob_types/pikmin/blue_pikmin/animations.txt +++ b/game_data/base/mob_types/pikmin/blue_pikmin/animations.txt @@ -71,6 +71,22 @@ animations{ } } } + called{ + frames{ + idling_01{ + duration=0.0500 + interpolate=true + } + idling_big{ + duration=0.1000 + interpolate=true + } + idling_01{ + duration=0.2000 + interpolate=true + } + } + } carrying{ frames{ grabbing{ @@ -188,13 +204,6 @@ animations{ } } } - grabbing{ - frames{ - grabbing{ - duration=0.0000 - } - } - } idling{ frames{ idling_01{ @@ -1398,7 +1407,7 @@ sprites{ file=blue_pikmin file_pos=0.0000 0.0000 file_size=20.0000 20.0000 - scale=0.5500 0.5500 + scale=0.6500 0.6500 top_visible=true top_pos=-5.0000 0.0000 top_size=5.5000 10.0000 diff --git a/game_data/base/mob_types/pikmin/bulbmin/animations.txt b/game_data/base/mob_types/pikmin/bulbmin/animations.txt index ab2e96ec..85c284ab 100644 --- a/game_data/base/mob_types/pikmin/bulbmin/animations.txt +++ b/game_data/base/mob_types/pikmin/bulbmin/animations.txt @@ -71,6 +71,22 @@ animations{ } } } + called{ + frames{ + idling_01{ + duration=0.0500 + interpolate=true + } + idling_big{ + duration=0.1000 + interpolate=true + } + idling_01{ + duration=0.2000 + interpolate=true + } + } + } carrying{ frames{ idling_01{ @@ -201,13 +217,6 @@ animations{ } } } - grabbing{ - frames{ - grabbing{ - duration=0.0000 - } - } - } idling{ frames{ idling_01{ @@ -1332,6 +1341,33 @@ sprites{ } } } + idling_big{ + file=bulbmin + file_pos=0.0000 0.0000 + file_size=34.0000 28.0000 + offset=2.0000 0.0000 + scale=0.6500 0.6500 + top_visible=true + top_pos=-5.0000 0.0000 + top_size=5.5000 10.0000 + top_angle=0.0000 + hitboxes{ + top{ + coords=-4.0000 0.0000 0.0000 + height=24.0000 + radius=4.0000 + type=2 + value=1.0000 + } + body{ + coords=0.0000 0.0000 0.0000 + height=24.0000 + radius=7.0000 + type=0 + value=1.0000 + } + } + } idling_rev{ file=bulbmin file_pos=0.0000 0.0000 diff --git a/game_data/base/mob_types/pikmin/purple_pikmin/animations.txt b/game_data/base/mob_types/pikmin/purple_pikmin/animations.txt index b5780068..9144323b 100644 --- a/game_data/base/mob_types/pikmin/purple_pikmin/animations.txt +++ b/game_data/base/mob_types/pikmin/purple_pikmin/animations.txt @@ -71,6 +71,22 @@ animations{ } } } + called{ + frames{ + idling_01{ + duration=0.0500 + interpolate=true + } + idling_big{ + duration=0.1000 + interpolate=true + } + idling_01{ + duration=0.2000 + interpolate=true + } + } + } carrying{ frames{ grabbing{ @@ -188,13 +204,6 @@ animations{ } } } - grabbing{ - frames{ - grabbing{ - duration=0.0000 - } - } - } idling{ frames{ idling_01{ @@ -1398,7 +1407,7 @@ sprites{ file=purple_pikmin file_pos=0.0000 0.0000 file_size=24.0000 36.0000 - scale=0.5500 0.5500 + scale=0.6500 0.6500 top_visible=true top_pos=-5.0000 0.0000 top_size=5.5000 10.0000 diff --git a/game_data/base/mob_types/pikmin/red_pikmin/animations.txt b/game_data/base/mob_types/pikmin/red_pikmin/animations.txt index 98c86667..8b0092b5 100644 --- a/game_data/base/mob_types/pikmin/red_pikmin/animations.txt +++ b/game_data/base/mob_types/pikmin/red_pikmin/animations.txt @@ -71,6 +71,22 @@ animations{ } } } + called{ + frames{ + idling_01{ + duration=0.0500 + interpolate=true + } + idling_big{ + duration=0.1000 + interpolate=true + } + idling_01{ + duration=0.2000 + interpolate=true + } + } + } carrying{ frames{ grabbing{ @@ -188,13 +204,6 @@ animations{ } } } - grabbing{ - frames{ - grabbing{ - duration=0.0000 - } - } - } idling{ frames{ idling_01{ @@ -1403,7 +1412,7 @@ sprites{ file_pos=0.0000 0.0000 file_size=28.0000 20.0000 offset=2.0000 0.0000 - scale=0.5500 0.5500 + scale=0.6500 0.6500 top_visible=true top_pos=-5.0000 0.0000 top_size=5.5000 10.0000 diff --git a/game_data/base/mob_types/pikmin/rock_pikmin/animations.txt b/game_data/base/mob_types/pikmin/rock_pikmin/animations.txt index 36270b68..c47b1bc5 100644 --- a/game_data/base/mob_types/pikmin/rock_pikmin/animations.txt +++ b/game_data/base/mob_types/pikmin/rock_pikmin/animations.txt @@ -56,6 +56,22 @@ animations{ } } } + called{ + frames{ + idling_01{ + duration=0.0500 + interpolate=true + } + idling_big{ + duration=0.1000 + interpolate=true + } + idling_01{ + duration=0.2000 + interpolate=true + } + } + } carrying{ frames{ grabbing{ @@ -167,13 +183,6 @@ animations{ } } } - grabbing{ - frames{ - grabbing{ - duration=0.0000 - } - } - } idling{ frames{ idling_01{ @@ -1168,7 +1177,7 @@ sprites{ file=rock_pikmin file_pos=0.0000 0.0000 file_size=28.0000 28.0000 - scale=0.5500 0.5500 + scale=0.6500 0.6500 top_visible=true top_pos=-5.0000 0.0000 top_size=5.5000 10.0000 diff --git a/game_data/base/mob_types/pikmin/white_pikmin/animations.txt b/game_data/base/mob_types/pikmin/white_pikmin/animations.txt index c31b47c5..72a8d4a7 100644 --- a/game_data/base/mob_types/pikmin/white_pikmin/animations.txt +++ b/game_data/base/mob_types/pikmin/white_pikmin/animations.txt @@ -71,6 +71,22 @@ animations{ } } } + called{ + frames{ + idling_01{ + duration=0.0500 + interpolate=true + } + idling_big{ + duration=0.1000 + interpolate=true + } + idling_01{ + duration=0.2000 + interpolate=true + } + } + } carrying{ frames{ grabbing{ @@ -188,13 +204,6 @@ animations{ } } } - grabbing{ - frames{ - grabbing{ - duration=0.0000 - } - } - } idling{ frames{ idling_01{ @@ -1398,7 +1407,7 @@ sprites{ file=white_pikmin file_pos=0.0000 0.0000 file_size=16.0000 16.0000 - scale=0.5500 0.5500 + scale=0.6500 0.6500 top_visible=true top_pos=-5.0000 0.0000 top_size=5.5000 10.0000 diff --git a/game_data/base/mob_types/pikmin/winged_pikmin/animations.txt b/game_data/base/mob_types/pikmin/winged_pikmin/animations.txt index d38d2a20..29409d98 100644 --- a/game_data/base/mob_types/pikmin/winged_pikmin/animations.txt +++ b/game_data/base/mob_types/pikmin/winged_pikmin/animations.txt @@ -71,6 +71,22 @@ animations{ } } } + called{ + frames{ + idling_01{ + duration=0.0500 + interpolate=true + } + idling_big{ + duration=0.1000 + interpolate=true + } + idling_01{ + duration=0.2000 + interpolate=true + } + } + } carrying{ frames{ grabbing_01{ @@ -188,22 +204,6 @@ animations{ } } } - grabbing{ - frames{ - grabbing_01{ - duration=0.0500 - } - grabbing_02{ - duration=0.0500 - } - grabbing_01{ - duration=0.0500 - } - grabbing_03{ - duration=0.0500 - } - } - } idling{ frames{ idling_01{ @@ -1352,7 +1352,7 @@ sprites{ file_pos=0.0000 0.0000 file_size=30.0000 28.0000 offset=-2.5000 0.0000 - scale=0.5500 0.5500 + scale=0.6500 0.6500 top_visible=true top_pos=-5.0000 0.0000 top_size=5.5000 10.0000 diff --git a/game_data/base/mob_types/pikmin/yellow_pikmin/animations.txt b/game_data/base/mob_types/pikmin/yellow_pikmin/animations.txt index eb04e6d7..01eea15c 100644 --- a/game_data/base/mob_types/pikmin/yellow_pikmin/animations.txt +++ b/game_data/base/mob_types/pikmin/yellow_pikmin/animations.txt @@ -71,6 +71,22 @@ animations{ } } } + called{ + frames{ + idling_01{ + duration=0.0500 + interpolate=true + } + idling_big{ + duration=0.1000 + interpolate=true + } + idling_01{ + duration=0.2000 + interpolate=true + } + } + } carrying{ frames{ grabbing{ @@ -188,13 +204,6 @@ animations{ } } } - grabbing{ - frames{ - grabbing{ - duration=0.0000 - } - } - } idling{ frames{ idling_01{ @@ -1318,7 +1327,7 @@ sprites{ file=yellow_pikmin file_pos=0.0000 0.0000 file_size=20.0000 36.0000 - scale=0.5500 0.5500 + scale=0.6500 0.6500 top_visible=true top_pos=-5.0000 0.0000 top_size=5.5000 10.0000 diff --git a/manual/content/changelog.html b/manual/content/changelog.html index 6aa1c8ce..a657d604 100644 --- a/manual/content/changelog.html +++ b/manual/content/changelog.html @@ -29,7 +29,7 @@

0.26.0