20 users online: Banddy, Blizzard Buffalo, faloppa, fathy2001, GangsterJerby, giovannemendes, GiraffeKiller, Heraga, Impetus, issun, Lady Rozeldix, ModernKiwi, Nextalis, oyok, Royal Nico TS, Rykon-V73, RZ1, ShUriK KiD,  Telinc1, TheJavabrew - Guests: 79 - Bots: 194
Users: 55,592 (2,458 active)
Latest user: giovannemendes

Splitting Eating Block

SMW Sprites → Splitting Eating Block

Submission Details

Name: Splitting Eating Block
Author: dtothefourth
Tool: PIXI
Type: Standard
Dynamic: No
Disassembly: No
Includes GFX: No
Description: This is an adaptation of the vanilla eating block with a few fixes and an added split behavior.

The main addition is the splitting, which allows it to split off copies of itself when faced with multiple directions to go in, allowing it to potentially consume all possible blocks.

As part of that, the issue with the original sprite where it would get confused when faced with certainl choices of directions and fly off or go the wrong way has been corrected.

This means that even if you turn off the splitting option it will still always go properly towards a block to eat if there is one.

Finally, once activated this sprite will not stop like the vanilla one would sometimes which lets it be used consistantly in more situations.

Just note that letting too many of these go active can cause black lines at the top from too many block updates, but I staggered them so that each split should be updating blocks on a different group of frames and I haven't had any cases with lines in normal use.

Uses a byte of freeRAM to maintain a count of how many exist, this can be ignored/removed if not using the split option.
Tags: lorom sa-1
Comments: 4 (jump to comments)
5.0 (1 rating)
No rating
Download 4.61 KiB | 351 downloads


View all

Comments (4)

orka-bln Link
Really nice idea, for sure gonna use it! However, it seems like it does not work in vertical levels.
 Kevin Link
Tested with: Pixi 1.2.12, LM 3.10, SA-1 1.32, Snes9x 1.60. The sprite works as intended, so accepted.
Note that during moderation a small oversight was fixed, so download it again if you did earlier. Also, as noted in the description, don't put too many of these together (or set the number too high in the asm file) or black lines will appear at the top of the screen when they trigger.
Ruberjig Link
i love you. I was thinking of doing something like this but you did it SO MUCH better
HammerBrother Link
You have beaten my bomb blocks.