Name: | Falling Icicle |
Author: | Erik |
Added: | |
Version History: | View |
Tool: | PIXI |
Type: | Standard |
Dynamic: | No |
Disassembly: | No |
Includes GFX: | Yes |
Description: | A 16x32 icicle that will fall whenever the player gets near it, and which shatters when it touches the ground. It's similar to the vanilla Falling Spike. The extra byte controls the time before falling. Requested by S.R.H.. Update 12/2024: rewritten to optimize code (in particular the GFX routine), use shared routines, and to allow the icicle to harm the player whenever making contact with it when not yet falling. |
Tags: | falling ice lorom sa-1 spike |
Comments: | 9 (jump to comments) |
Rating: |
Download
5.54 KiB | 1,310 downloads
Comments (9)
- Lunar Magic 3.51
- SA-1 1.40
- PIXI 1.42
- bsnes v115.
Works fine. Functionally a longer Falling Spike that breaks on impact with floors, so with some other graphics it can find extensive use.
With Erik's permission, I added two small features:
1. I implemented the "Shatter Block" Palette Unrestrictor tweak as an optional define, so that we can give the shatter effect a blue color to match the icicle rather than the flashing color used by Throw Blocks.
2. Extra Byte 2 will define the range that the icicle will detect the player with. If left alone at 00, it will use a default value.
One note -- if you ever plan to revisit this, I'd love to see an option that lets it return to its origin point or fall on a timer, like how the SMM2 Icicles do. This might be better suited to an entirely separate sprite, though.
If this was an intended behavior, then just ignore this.
responding to this for posterity. this is basically the behavior of the vanilla falling spike, no idea why.
i've changed it so it now harms the player when not yet falling.
If this was an intended behavior, then just ignore this.