Once you try it, you will never not use it!
Code is all GML and will run on any platform.
Working in Game Maker, you are exposed to many different built in events. There are many different to choose from: OnClick, KeyPress, Step. However, these events are triggered by the engine and not by you. My system works basically the same way; Register code to an event that will be ran whenever the event is triggered. Following this pattern, it is very easy to organize the code for each event and greatly aids debugging.
A simple example is increasing the power of all players on a team when one collects a power-up. When the game starts, a power-up event is created. As each player is created, they register their unique power-up script to the event. When a player collects the power-up, the event is triggered and each player's power-up script is executed.
My system allows the code execution to be prioritized and ran in any order desired. It also allows data to be passed to each script when triggering.
Results: script1 and script2 are both ran
Check out my other marketplace listings
Thanks for viewing!
Version 1.1.0. Published August 25, 2015
Created with GameMaker: Studio v1.4.1629
You can only review assets you've bought.
Couldn't be better
This approach is totally unique! I've never seen events handled like this before but it makes game logic so much simpler!