supertux
supertux copied to clipboard
WIP Ghost Tree [sprites only for now] - Read description! [WIP]
This PR only containts WIP still frames for each considered Ghost Tree action to provide visuals for coding in the planned, new behavior of said Ghost Tree!
List of actions as of now:
- idle (normal + pinch)
- scream (normal + pinch)
- charge (normal + pinch)
- busted
Explainiation of planned behavior change (for coders): The Ghost Tree will start begin the battle with a scream, spawning wisps that DO NOT hurt Tux. After which it will suck in the wisps (use scream action for now) and initiate the proper color-coated attacks with another scream. During all this the Main Root Attack is instigated on occasion, behaving essentially like a Root Sapling root attack.
During full health (5 HP) the Ghost tree only makes use of the Red Root Attack. During 4 HP, the Green Root Attack. 3 HP, the Blue Root Attack etc. When all colored attacks are completed, the Ghost Tree will go into its recharge action revealing its core. That core Tux can jump on to land a hit on the Ghost Tree, after which the Ghost Tree hides its core again.
Pinch Mode: During Pinch Mode the Ghost Tree will loose it's branches, do a scream, spawn all 3 colors of wisps and swallow them -> do another scream and initiate the Pinch Root Attack multiple times.
Red Root Attack:
- A wave of red glowing roots will emerge from the ground, (from the side furthest from Tux's position relative to the Ghost Tree) going from one end to the other.
Green Root Attack:
- Spawn a green glowing Root at Tux's latest position which hurt Tux on touch as well as explodes when touched or after a few seconds, bursting into smaller Root Spikes that break upon touching the ground.
Blue Root Attack:
- Spawns a "Granito" Root at Tux's latest position that after reaching max height, shoots one blue glowing Root Dart out of each Granito head before retracting back into the ground (there's two variants - those can be randomized)
Pinch Root Attack:
- Combines aspects of all attacks. A Pinch Root will spawn at Tux's latest position out of which a wave of red glowing roots emerge on both sides, shoot a blue glowing Root Dart on both sides and the Root itself explodes into Root Darts soon after.
The following videos show a scripted example of each Root Attack:
https://github.com/user-attachments/assets/654d26bc-87b1-45d0-a954-af25f8ef5eb2
https://github.com/user-attachments/assets/0a236365-e73d-40b6-9c5c-f9daa6a3bc22