Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I'm trying to create a plugin where Events and Actions get set after being created, during run time.
How do I go about doing this in the Javascript of my plugin?
How do I edit the Event sheet at runtime?
You can't. Events are statically analysed and optimised at startup for performance reasons, so it would be extremely difficult to support this. Why on earth would you want to do that anyway? Morphing code is a really hard way to do anything useful.
Develop games in your browser. Powerful, performant & highly capable.
You might design functions in event sheet, and call them at run-time by command strings, which could be read from external file, like this 3rd plugin.