-
-
Notifications
You must be signed in to change notification settings - Fork 493
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Root Sapling (a.k.a. Corrupted Mole) (#2698)
* Initial sprites for Root Sapling [ci skip] Note: The sprites of the Root Sapling itself are still WIP and mostly serve to begin coding! * Update root_attack.sprite [ci skip] * Delete data/images/creatures/mole/corrupted/root_base.sprite [ci skip] * Rename root_attack.sprite to root.sprite [ci skip] * wip root sapling * root sapling basic behaviour * Particles, fine tuning, and death * summon roots on different ground levels * Add root to game object factory * Root will only kill COLGROUP_MOVING objects * Add glow sprites for the Root Sapling's core [ci skip] * Glowing root sapling * Root sapling do not spawn in thin platforms * Update objects.stoi [ci skip] * Adjustments * remove unused variables * construct function + wip support all directions * aeiou * Support for down + actions for all sides * horizontal textures * all sides!!!!! * hit down facing saplings * Update Root Sapling sprites [ci skip] Light sprites still needs position adjustments! * Preparing for crusher new roots * fixes * Revert is_free_of_tiles and fix detection - Fix solid tilemap issue - Fix spawning thru unisolid tiles * fix more bugs * picky compiler * oops * fix layers and bottom root sapling spawning even when not full * whoops * moving tilemaps are stupid * fix warnings * Fix get_action_surfaces warning * Fix summon check when theres a moving tilemap * fix the fixes * Fix down/right not choosing the right position Please let this be the last bug * remove todo [ci skip] * Give Mole bigger hill size [ci skip] Also, increase rock size + one more sprite variant (needs code adjustments!) * random mole rock & mole bounce on squish * Code style fixes * support multiple players * mole is snipable * Replace `return` with `continue` * fix down root sapling * bonk on down root sapling inverts velocity * faster root sapling --------- Co-authored-by: MatusGuy <[email protected]> Co-authored-by: Vankata453 <[email protected]>
- Loading branch information
1 parent
3bd8395
commit c2cc19b
Showing
93 changed files
with
981 additions
and
90 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 27 additions & 0 deletions
27
data/images/creatures/mole/corrupted/core_glow/core_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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
(supertux-sprite | ||
(action | ||
(name "default") | ||
(hitbox 183 193 350 350) | ||
(fps 12) | ||
(images "core_glow-0.png" | ||
"core_glow-1.png" | ||
"core_glow-2.png" | ||
"core_glow-3.png" | ||
"core_glow-4.png" | ||
"core_glow-5.png" | ||
"core_glow-6.png" | ||
"core_glow-7.png" | ||
"core_glow-8.png" | ||
"core_glow-9.png" | ||
"core_glow-10.png" | ||
"core_glow-9.png" | ||
"core_glow-8.png" | ||
"core_glow-7.png" | ||
"core_glow-6.png" | ||
"core_glow-5.png" | ||
"core_glow-4.png" | ||
"core_glow-3.png" | ||
"core_glow-2.png" | ||
"core_glow-1.png") | ||
) | ||
) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
(supertux-sprite | ||
(action | ||
(name "root") | ||
(hitbox 20 7 16 80) | ||
(images "root_attack.png")) | ||
|
||
(action | ||
(name "root-up") | ||
(hitbox 20 7 16 80) | ||
(clone-action "root")) | ||
(action | ||
(name "base-up") | ||
(hitbox 20 7 16 80) | ||
(images "root_base.png")) | ||
|
||
(action | ||
(name "root-down") | ||
(hitbox 20 9 16 80) | ||
(flip-action "root-up")) | ||
(action | ||
(name "base-down") | ||
(hitbox 20 9 16 80) | ||
(flip-action "base-up")) | ||
|
||
(action | ||
(name "root-left") | ||
(hitbox 7 22 80 16) | ||
(images "root_attack_left.png")) | ||
(action | ||
(name "base-left") | ||
(hitbox 7 22 80 16) | ||
(images "root_base_left.png")) | ||
|
||
(action | ||
(name "root-right") | ||
(hitbox 9 22 80 16) | ||
(mirror-action "root-left")) | ||
(action | ||
(name "base-right") | ||
(hitbox 9 22 80 16) | ||
(mirror-action "base-left")) | ||
) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,96 @@ | ||
(supertux-sprite | ||
(action | ||
(name "idle") | ||
(hitbox 24 22 32 32) | ||
(fps 8) | ||
(images "root_sapling-0.png" | ||
"root_sapling-1.png" | ||
"root_sapling-2.png" | ||
"root_sapling-3.png" | ||
"root_sapling-4.png" | ||
"root_sapling-5.png" | ||
"root_sapling-6.png" | ||
"root_sapling-7.png" | ||
"root_sapling-8.png" | ||
"root_sapling-9.png" | ||
"root_sapling-10.png" | ||
"root_sapling-11.png" | ||
) | ||
) | ||
(action | ||
(name "idle-up") | ||
(fps 8) | ||
(hitbox 24 22 32 32) | ||
(clone-action "idle") | ||
) | ||
(action | ||
(name "squished-up") | ||
(fps 15) | ||
(loops 1) | ||
(hitbox 24 22 32 32) | ||
(images "corrupted_hill-0.png" | ||
"corrupted_hill-1.png" | ||
"corrupted_hill-2.png" | ||
"corrupted_hill-3.png" | ||
"corrupted_hill-3.png" | ||
"corrupted_hill-4.png" | ||
) | ||
) | ||
(action | ||
(name "idle-down") | ||
(fps 8) | ||
(hitbox 24 70 32 32) | ||
(flip-action "idle-up") | ||
) | ||
(action | ||
(name "squished-down") | ||
(fps 15) | ||
(loops 1) | ||
(hitbox 24 70 32 32) | ||
(flip-action "squished-up") | ||
) | ||
(action | ||
(name "idle-left") | ||
(hitbox 18 24 32 32) | ||
(fps 8) | ||
(images "root_sapling-0_left.png" | ||
"root_sapling-1_left.png" | ||
"root_sapling-2_left.png" | ||
"root_sapling-3_left.png" | ||
"root_sapling-4_left.png" | ||
"root_sapling-5_left.png" | ||
"root_sapling-6_left.png" | ||
"root_sapling-7_left.png" | ||
"root_sapling-8_left.png" | ||
"root_sapling-9_left.png" | ||
"root_sapling-10_left.png" | ||
"root_sapling-11_left.png" | ||
) | ||
) | ||
(action | ||
(name "squished-left") | ||
(fps 15) | ||
(loops 1) | ||
(hitbox 18 24 32 32) | ||
(images "corrupted_hill-0_left.png" | ||
"corrupted_hill-1_left.png" | ||
"corrupted_hill-2_left.png" | ||
"corrupted_hill-3_left.png" | ||
"corrupted_hill-3_left.png" | ||
"corrupted_hill-4_left.png" | ||
) | ||
) | ||
(action | ||
(name "idle-right") | ||
(hitbox 70 24 32 32) | ||
(fps 8) | ||
(mirror-action "idle-left") | ||
) | ||
(action | ||
(name "squished-right") | ||
(fps 15) | ||
(loops 1) | ||
(hitbox 70 24 32 32) | ||
(mirror-action "squished-left") | ||
) | ||
) |
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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,17 +1,25 @@ | ||
(supertux-sprite | ||
(action | ||
(name "medium") | ||
(hitbox 0 0 13 12) | ||
(name "variant-1") | ||
(hitbox 5 6 15 15) | ||
(images | ||
"mole_rock-0.png" | ||
) | ||
) | ||
|
||
(action | ||
(name "small") | ||
(hitbox 0 0 10 10) | ||
(name "variant-2") | ||
(hitbox 5 6 15 15) | ||
(images | ||
"mole_rock-1.png" | ||
) | ||
) | ||
|
||
(action | ||
(name "variant-3") | ||
(hitbox 8 8 11 11) | ||
(images | ||
"mole_rock-2.png" | ||
) | ||
) | ||
) |
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
(supertux-sprite | ||
(action | ||
(name "piece-0") | ||
(hitbox 0 0 8 8) | ||
(images | ||
"corrupted_rock-0.png" | ||
) | ||
) | ||
|
||
(action | ||
(name "piece-1") | ||
(hitbox 0 0 10 10) | ||
(images | ||
"corrupted_rock-1.png" | ||
) | ||
) | ||
|
||
(action | ||
(name "piece-2") | ||
(hitbox 0 0 16 16) | ||
(images | ||
"corrupted_rock-2.png" | ||
) | ||
) | ||
|
||
(action | ||
(name "piece-3") | ||
(hitbox 0 0 8 8) | ||
(images | ||
"corrupted_rock-3.png" | ||
) | ||
) | ||
|
||
(action | ||
(name "piece-4") | ||
(hitbox 0 0 10 10) | ||
(images | ||
"corrupted_rock-4.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
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
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
Oops, something went wrong.