Views: 874,150,403
27 users online: boardrfolife, chickaDEE Magazine, Dark Prince, Darolac, Diba9Br, DPBOX, h.carrell, Idunno, K.T.B., Luks,  MiniMawile303, MORC, Mpereira, Murphmario,  Nameless, OrangeBronzeDaisy,  Pinci, RetroYuuki, Rykon-V73, Samuel 300, SetzeC4ein,  Tamaki,  Teows, TheBiob, underway,  xHF01x, Zandro - Guests: 67 - Bots: 69 Users: 48,694 (2,421 active)
Latest: boardrfolife
Winter C3 2021 Content Spotlight
OEO6's "Class of 2020 Drawing in 5 Minutes"!
Not logged in.
Details for Projectile On/Off switcher
SMW Sprites - Projectile On/Off switcher Link - Show random
File Name: Projectile On/Off switcher
Authors: TheBiob
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
Rating: 4.0 (Votes: 2)
Download: Download - 994 bytes
would there be a way to make the block not solid? In case you only wan't to trigger it with mario's fireball.
Posted by: Irondill - | Link
You can tell RussianMan got a hold of it when the screenshot has the Shrek swamp background
Posted by: TheJullasicFox - | 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).
Posted by:  RussianMan - | 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.
Posted by: TheBiob - | 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.
Posted by:  RussianMan - | Link
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.
Posted by: TheBiob - | 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.)
Posted by:  RussianMan - | Link
Thanks for the quick fix. This will be fun to use with Erik's reflector sprite.
Posted by: Medic - | Link
That's what I get for making code at 2am. Fixed
Posted by: TheBiob - | Link

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2021 - SMW Central
Legal Information - Privacy Policy - Link To Us


Follow Us On

  • YouTube
  • Twitch
  • Twitter


  • Super Mario Bros. X Community
  • Mario Fan Games Galaxy
  • sm64romhacks