Language…
11 users online: A-Frame, aroohwahoou,  Blaagon, EntySky, gamexus705, Green, Insectduel,  Lazy, pixelninetales, TheEPMaker, untung33biz - Guests: 64 - Bots: 233
Users: 65,885 (2,194 active)
Latest user: gamexus705

Projectile On/Off switcher

SMW Sprites → Projectile On/Off switcher

Submission Details

Name: Projectile On/Off switcher
Author: TheBiob
Added:
Tool: PIXI
Type: Standard
Dynamic: No
Disassembly: No
Includes GFX: No
Description: This is an invisible sprite that when hit by a projectile (like a baseball) will swap the on/off as well as play the on/off sound.

Place inside an actual on/off switch for it to make at least some sense
Tags: fireball invisible lorom on-off pacifist projectile sa-1
Comments: 9 (jump to comments)
Rating:
4.0 (2 ratings)
No rating
Download 994 bytes | 720 downloads

Screenshots

View all

Comments (9)

Irondill Link
would there be a way to make the block not solid? In case you only wan't to trigger it with mario's fireball.
TheJullasicFox Link
You can tell RussianMan got a hold of it when the screenshot has the Shrek swamp background
 RussianMan Link
Ok, Added one more gif and edited file once more, so now it works correctly on SA-1. (Althought sometimes you can see fireballs don't trigger anything, but that's because it interacts with solid block).
TheBiob Author Link
Yeah but piranha plants work either way though
Anyway, the fireballs don't work because they're hitting the on/off switch and disappear lol. Probably should've tested that
I screwed up the clipping so gj me. I fixed it and now the option works fine sorry didn't realize that option was broken.
 RussianMan Link
Well, why then player's fireballs didn't worked with original sprites? Maybe I'm wrong too, but at least it did worked with fireballs that jumping piranha plant spit.
TheBiob Author Link
Quote
Edited a few comments, because they weren't being clear enough ( you need to put sprite inside actual on/off block, and "change to 09 to include sprites fireballs", because there's also Players.)

1) Fair enough. Above made sense because you place it above the sprite on a "3D with weird viewpoint" kind of view lol. Even though "inside" sounds wrong to me as well it's probably a bit clearer.

2) No. The comment was correct before it was changed.
I do indeed mean the players fireballs. I only wrote "fireballs" because every extended sprite that hurts the player I assume to be a projectile. I guess I should've specified that I meant the players fireballs and not the projectile fireballs.
Also, sprites "fireballs" can't even go into slots 8/9 unless someone screwed up the code somewhere.


edit: I changed it myself. While I was at it I also optimized the bank switching since suboffscreen doesn't need to have the data bank updated anymore.
 RussianMan Link
It's invisible sprite which is basically sprite version of on/off switch, except it can be triggered only by extended sprites.

What's changed:
Converted to PIXI with SA-1 support
Edited a few comments, because they weren't being clear enough ( you need to put sprite inside actual on/off block, and "change to 09 to include sprites fireballs", because there's also Players.)
Medic Link
Thanks for the quick fix. This will be fun to use with Erik's reflector sprite.
TheBiob Author Link
That's what I get for making code at 2am. Fixed