Event System

For developers using the Construct 2 Javascript SDK

Post » Wed Mar 12, 2014 11:30 pm

Hi, I was just wondering how the event system works within JavaScript. For instance, during editing, my plugin should be automatically added to every object (I have good reason which I won't get into here). Can this be done by hooking events or something? (perhaps as a global plugin that can watch for this?) I want to auto-add behaviors to all new objects by default, but I'm not sure of the best approach. Also, I need to track these objects during runtime to know when they are added and removed as well, thanks.
Jack of all trades, and master of some.
Posts: 176
Reputation: 8,316

Return to Javascript SDK

Who is online

Users browsing this forum: No registered users and 0 guests