-
-
Notifications
You must be signed in to change notification settings - Fork 474
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix corrupted crusher not spawning roots when hit.top (#2584)
When the corrupted Crusher was added, for some reason, it was only programmed to spawn CrusherRoots when hitting bottom, left or right, but not top. This prevented it from spawning the roots during levelflip. The roots didn't even have a sprite action for that direction. Also, CRLF→LF in corrupted Crusher and CrusherRoot sprite files.
- Loading branch information
Showing
8 changed files
with
171 additions
and
153 deletions.
There are no files selected for viewing
70 changes: 35 additions & 35 deletions
70
data/images/creatures/crusher/corrupted/krosh_corrupt.sprite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
(supertux-sprite | ||
(action | ||
(name "idle") | ||
(hitbox 16 16 128 128) | ||
(images "krosh_corrupt_main.png" | ||
) | ||
) | ||
(action | ||
(name "crushing") | ||
(hitbox 16 16 128 128) | ||
(images "krosh_corrupt_hit.png" | ||
) | ||
) | ||
(action | ||
(name "recovering") | ||
(hitbox 16 16 128 128) | ||
(images "krosh_corrupt_main.png" | ||
) | ||
) | ||
(action | ||
(name "whites") | ||
(hitbox 16 16 128 128) | ||
(images "krosh_corrupt_whites.png") | ||
) | ||
(action | ||
(name "lefteye") | ||
(hitbox 16 16 128 128) | ||
(images "krosh_corrupt_eyes.png") | ||
) | ||
(action | ||
(name "righteye") | ||
(hitbox 16 16 128 128) | ||
(images "krosh_corrupt_eyes.png") | ||
) | ||
) | ||
(supertux-sprite | ||
(action | ||
(name "idle") | ||
(hitbox 16 16 128 128) | ||
(images "krosh_corrupt_main.png" | ||
) | ||
) | ||
(action | ||
(name "crushing") | ||
(hitbox 16 16 128 128) | ||
(images "krosh_corrupt_hit.png" | ||
) | ||
) | ||
(action | ||
(name "recovering") | ||
(hitbox 16 16 128 128) | ||
(images "krosh_corrupt_main.png" | ||
) | ||
) | ||
(action | ||
(name "whites") | ||
(hitbox 16 16 128 128) | ||
(images "krosh_corrupt_whites.png") | ||
) | ||
(action | ||
(name "lefteye") | ||
(hitbox 16 16 128 128) | ||
(images "krosh_corrupt_eyes.png") | ||
) | ||
(action | ||
(name "righteye") | ||
(hitbox 16 16 128 128) | ||
(images "krosh_corrupt_eyes.png") | ||
) | ||
) |
14 changes: 7 additions & 7 deletions
14
data/images/creatures/crusher/corrupted/krosh_eye_glow.sprite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
(supertux-sprite | ||
(action | ||
(name "default") | ||
(hitbox 16 16 128 128) | ||
(images "krosh_eye_glow.png") | ||
) | ||
) | ||
(supertux-sprite | ||
(action | ||
(name "default") | ||
(hitbox 16 16 128 128) | ||
(images "krosh_eye_glow.png") | ||
) | ||
) |
70 changes: 35 additions & 35 deletions
70
data/images/creatures/crusher/corrupted/krush_corrupt.sprite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
(supertux-sprite | ||
(action | ||
(name "idle") | ||
(hitbox 8 8 64 64) | ||
(images "krush_corrupt_main.png" | ||
) | ||
) | ||
(action | ||
(name "crushing") | ||
(hitbox 8 8 64 64) | ||
(images "krush_corrupt_hit.png" | ||
) | ||
) | ||
(action | ||
(name "recovering") | ||
(hitbox 8 8 64 64) | ||
(images "krush_corrupt_main.png" | ||
) | ||
) | ||
(action | ||
(name "whites") | ||
(hitbox 8 8 64 64) | ||
(images "krush_corrupt_whites.png") | ||
) | ||
(action | ||
(name "lefteye") | ||
(hitbox 8 8 64 64) | ||
(images "krush_corrupt_eyes.png") | ||
) | ||
(action | ||
(name "righteye") | ||
(hitbox 8 8 64 64) | ||
(images "krush_corrupt_eyes.png") | ||
) | ||
) | ||
(supertux-sprite | ||
(action | ||
(name "idle") | ||
(hitbox 8 8 64 64) | ||
(images "krush_corrupt_main.png" | ||
) | ||
) | ||
(action | ||
(name "crushing") | ||
(hitbox 8 8 64 64) | ||
(images "krush_corrupt_hit.png" | ||
) | ||
) | ||
(action | ||
(name "recovering") | ||
(hitbox 8 8 64 64) | ||
(images "krush_corrupt_main.png" | ||
) | ||
) | ||
(action | ||
(name "whites") | ||
(hitbox 8 8 64 64) | ||
(images "krush_corrupt_whites.png") | ||
) | ||
(action | ||
(name "lefteye") | ||
(hitbox 8 8 64 64) | ||
(images "krush_corrupt_eyes.png") | ||
) | ||
(action | ||
(name "righteye") | ||
(hitbox 8 8 64 64) | ||
(images "krush_corrupt_eyes.png") | ||
) | ||
) |
14 changes: 7 additions & 7 deletions
14
data/images/creatures/crusher/corrupted/krush_eye_glow.sprite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
(supertux-sprite | ||
(action | ||
(name "default") | ||
(hitbox 8 8 64 64) | ||
(images "krush_corrupt_main.png") | ||
) | ||
) | ||
(supertux-sprite | ||
(action | ||
(name "default") | ||
(hitbox 8 8 64 64) | ||
(images "krush_corrupt_main.png") | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,32 @@ | ||
(supertux-sprite | ||
(action | ||
(name "default") | ||
(hitbox 6 32 20 60) | ||
(images "root-empty.png") | ||
) | ||
(action | ||
(name "downwards") | ||
(fps 16) | ||
(hitbox 6 32 20 60) | ||
(images | ||
"root-0.png" | ||
"root-1.png" | ||
"root-2.png" | ||
"root-3.png" | ||
"root-4.png" | ||
"root-5.png" | ||
"root-5.png" | ||
"root-4.png" | ||
"root-3.png" | ||
"root-2.png" | ||
"root-1.png" | ||
"root-0.png" | ||
) | ||
(loops 1) | ||
) | ||
) | ||
(supertux-sprite | ||
(action | ||
(name "default") | ||
(hitbox 6 32 20 60) | ||
(images "root-empty.png") | ||
) | ||
(action | ||
(name "downwards") | ||
(fps 16) | ||
(hitbox 6 32 20 60) | ||
(images | ||
"root-0.png" | ||
"root-1.png" | ||
"root-2.png" | ||
"root-3.png" | ||
"root-4.png" | ||
"root-5.png" | ||
"root-5.png" | ||
"root-4.png" | ||
"root-3.png" | ||
"root-2.png" | ||
"root-1.png" | ||
"root-0.png" | ||
) | ||
(loops 1) | ||
) | ||
(action | ||
(name "upwards") | ||
(hitbox 6 4 20 60) | ||
(flip-action "downwards") | ||
) | ||
) |
68 changes: 34 additions & 34 deletions
68
data/images/creatures/crusher/roots/crusher_root_side.sprite
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
(supertux-sprite | ||
(action | ||
(name "default") | ||
(hitbox 6 6 60 20) | ||
(images "root_side-empty.png") | ||
) | ||
(action | ||
(name "sideways-left") | ||
(fps 16) | ||
(hitbox 6 6 60 20) | ||
(images | ||
"root_side-0.png" | ||
"root_side-1.png" | ||
"root_side-2.png" | ||
"root_side-3.png" | ||
"root_side-4.png" | ||
"root_side-5.png" | ||
"root_side-5.png" | ||
"root_side-4.png" | ||
"root_side-3.png" | ||
"root_side-2.png" | ||
"root_side-1.png" | ||
"root_side-0.png" | ||
) | ||
(loops 1) | ||
) | ||
(action | ||
(name "sideways-right") | ||
(fps 16) | ||
(hitbox 32 6 60 20) | ||
(mirror-action "sideways-left") | ||
(loops 1) | ||
) | ||
) | ||
(supertux-sprite | ||
(action | ||
(name "default") | ||
(hitbox 6 6 60 20) | ||
(images "root_side-empty.png") | ||
) | ||
(action | ||
(name "sideways-left") | ||
(fps 16) | ||
(hitbox 6 6 60 20) | ||
(images | ||
"root_side-0.png" | ||
"root_side-1.png" | ||
"root_side-2.png" | ||
"root_side-3.png" | ||
"root_side-4.png" | ||
"root_side-5.png" | ||
"root_side-5.png" | ||
"root_side-4.png" | ||
"root_side-3.png" | ||
"root_side-2.png" | ||
"root_side-1.png" | ||
"root_side-0.png" | ||
) | ||
(loops 1) | ||
) | ||
(action | ||
(name "sideways-right") | ||
(fps 16) | ||
(hitbox 32 6 60 20) | ||
(mirror-action "sideways-left") | ||
(loops 1) | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters