39 users online:  Anorakun,  BTD6_maker, CalHal, Centipede, chickaDEE Magazine, Cote de Boeuf, Darolac, DPBOX, EvanEMV,  Falconpunch, Fransen86, HammerBrother, Infinity,  JamesD28, kevbrochill_,  KevinM, KiloMinimo,  Koopster, KungFuFurby, LadiesMan217, LOLRyan2006 the Goombud, LucasRCD, lx5,  MarioFanGamer, Mattrizzle,  Maxodex,  Meirdent,  MiniMawile303, Nint, Redwykelz,  Samantha, Sariel,  Teows, TheBiob, TheMorganah, toad64, Yetibucca, Yuzu, Zandro - Guests: 75 - Bots: 66 Users: 45,712 (3,340 active)
Latest user: Chatka
Not logged in.
Details for Controller Execute Once blocks
SMW Blocks - Controller Execute Once blocks Show random
File Name: Controller Execute Once blocks
Version History: View
Authors: HammerBrother
Act As: 25
Includes GFX: No
Description: Unlike what you normally program your blocks, this one avoids an issue where the block can react to controls multiple times per frame (via a cooldown timer) should multiple collision points (how the player interacts with objects) touches the same block (or multiple blocks using the same input), while having multiple offsets run the same code.
Tags: controller button, cooldown, execute once, lorom, sa-1
Rating: No rating
Download: Download - 10.11 KiB
Major Flare
Approved, as it works as intended. However, please take note that you've forgotten to change just one address to SA-1 hybrid, and it happens to be $1DFB. So, in a SA-1 ROM, your PSwitch block didn't change the music accordingly. Not a removal reason, though.
Posted by:  Major Flare - | Link