Language…
15 users online: 0ne_bins211,  Ahrion,  Anorakun, Apple Boy,  dacin, drkrdnk, Green,  JupiHornet, LordHoell, ocked, Oskise, playagmes169, Saela, TheBourgyman, Zatara - Guests: 98 - Bots: 161
Users: 67,566 (2,005 active)
Latest user: Baschfire

On/Off Block

Waiting SMW Blocks → On/Off Block

Submission Details

Name: On/Off Block
Author: MarioFanGamer
Submitted: by  MarioFanGamer
Act As: 130
Includes GFX: Yes
Description: A customisable on/off block which unlike most imitators is able to actually display a bounce animation (which for this reason requires PIXI v1.40 or newer) but can be disabled for your likings as well as be set to be one-way only, change to a different block (thus being single-use) as well as be triggered by a whole lot of options (kicked objects, spin jump and fireball besides the usual cape).
Tags: bounce lorom on-off sa-1 switch
Comments: 1 (jump to comments)
Rating:
0.0 (0 ratings)
No rating
Download 8.75 KiB | 29 downloads

Screenshots

View all

Comments (1)

HammerBrother Link
Looks like you did that thing again where when the block spawns a sprite (when enabled), only that sprite, not the block itself, handles changing the block from a trigger-able state to a non-triggerable state, which result it can be triggered multiple times on the same frame (such as 2 kicked sprites hitting the left and right side of the block, or player hits the bottom and by a sprite at the same time, or Mario hitting the block at the same frame $9D is set). I was thinking of an option to disable multi-hit, which that causes bounceable blocks to immediately disable themselves after processing the first hit.

(^This is not to be confused with the second change16 into a used block and the bounce block despawns, which is impossible to have a secondary block change without the block being touched, so a sprite or something like this is required.)

Also, does it work with this uberasm tool code unlike the patch version (the latter disables the block entirely, the former allows bouncing, but not flipping the on/off flag)?