Language…
5 users online: anoMaly666, HD_DankBaron, monkey03297,  Nanako, Shiki_Makiro - Guests: 238 - Bots: 324
Users: 64,795 (2,377 active)
Latest user: mathew

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
Added:
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)
Rating:
5.0 (1 rating)
No rating
Download 2.18 KiB | 1,204 downloads

Screenshots

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.