Hi All,
I was fiddling around with a game earlier where I wanted to turn off or change event handlers for sprites that were no longer aggressive so I made an ‘Event Handler Ender’ extension, there may well be functionality in the engine that already does this but I wasn’t able to find it so I cracked on (if anyone is aware of such functionality give me a shout!).
This extension contains blocks for killing the following event handlers:
- On sprite creation
- On sprite destruction
- On overlaps
- On tile overlap
- On hit wall
Extension can be found at: https://github.com/neintoes/Event-Handler-Ender
Example project (not featuring sprite creation and destruction handler enders) can be found here: https://arcade.makecode.com/S45300-87898-30096-80381
All blocks will be found in the same sections as their original event handler counterparts.