25 users online: Angel Miranda,  Anorakun, Aurel509, BeancityMakes, Carouco, crocodileman94,  Fyre150, Golden Yoshi, Green, Heitor Porfirio, Hennares,, Knight of Time, Leaf_7, Mecke1990, Mega, Nitrogen, RichardDS90,  Sayuri,  Segment1Zone2, steelsburg,  Telinc1, Wavee, wye, YouFailMe - Guests: 207 - Bots: 194
Users: 64,359 (2,464 active)
Latest user: Leaf_7

Invisible Sprite Killer Box v1.1

SMW Sprites → Invisible Sprite Killer Box v1.1

Submission Details

Name: Invisible Sprite Killer Box v1.1
Authors: Darolac, MellyMellouange
Version History: View
Tool: PIXI
Type: Standard
Dynamic: No
Disassembly: No
Includes GFX: No
Description: This invisible sprite will kill any other standard sprite it comes into contact with, even ones that are not meant to interact with objects or other sprites.

Version v1.1 by Darolac

-Converted to PIXI.
-Added the option to kill sprites on the same line of the sprite.
-Optimized the code.

Old GIEPY version is still included.
Tags: lorom pacifist sa-1
Comments: 7 (jump to comments)
5.0 (1 rating)
No rating
Download 2.18 KiB | 1,191 downloads


Comments (7)

spooonsss Link
This has a visual bug: if a sprite is killed off-screen, the puff of smoke displays on-screen. I've fixed that here sprite_killer_box.asm
Final Theory Link
This is good for when you are spawning sprites. Remember if you spawn a sprite continuously then you might also want to despawn them too.
 Telinc1 Link
This can be handy for puzzles, especially with the new mode for killing all sprites on a close Y position.

During moderation, I removed a single BRA on line 117. This fixes an incredibly obscure bug (I didn't manage to reproduce it in practice, which is why I didn't count it as a rejection reason) which theoretically allowed the sprite to kill a sprite it's not supposed to (the kill routine clobbers $00 and $01, then branched to the proximity routine without recalculating them). The only change in functionality is that now only one sprite can be killed per frame, which is not noticeable because the bug practically prevented more than one from being killed, anyway.
Romano338 Link
Works perfectly, thanks again!
Nicoke42 From older version: Invisible Sprite Killer Box Link
how do you install this?
FedoraFriday From older version: Invisible Sprite Killer Box Link
Can this be in pixi too?
 RussianMan From older version: Invisible Sprite Killer Box Link
Works fine, but I'd suggest a few things.
-It would be nice to have option to actually display some graphic tile.
-Whitelist for sprites to not kill.
-Make it kill sprites on the same line as it is, actually suggested by Sonikku.
During moderation I've optimized it a little and added basic tags.