As I was experiencing the problem below, I thought it would be more helpful to popularize GDevelop if it became easier to develop and deploy the extension of GDevelop.
It would be nice if we could download the extension from anywhere without rebuilding GDevelop like Unity Store.
If it can’t be done soon, I think it would be good if we could just install extension normally without rebuilding GDevelop.
I’m still a Newbie in Gdevelop, so it’s too much for me to contribute by implementing that
I just wrote a simple logging extension which outputs a string to the console in the DeveloperTools.
So I can simply use this action for verification if a condition is satisfied.
I’m not sure I can write this using on the event based extensions you suggested.
[consoletools]
/**
* @file
* Tools for interacting with the debugger.
*/
/**
* The namespace containing tools to interact with the debugger.
* @namespace
*/
gdjs.consoleTools = {};
/**
* Stop the game execution.
* @param {gdjs.RuntimeScene} runtimeScene - The current scene.
*/
gdjs.consoleTools.log = function(runtimeScene) {
runtimeScene.getGame().pause(true);
}
gdjs.consoleTools.log = function(anyExp) {
console.log(anyExp);
};