|Name:||Splitting Eating Block|
|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.
|Comments:||4 (jump to comments)|
Download 4.61 KiB | 351 downloads