Hello
I try to make a Construct3 version for a Construct2 plugin that i making, the only part that i had a problem is in the Debug mode
the code that i use for Construct2 version and Construct3 c2runtime:
instanceProto.getDebuggerValues = function (propsections)
{
//propsections.push({});
propsections.push({
"title": "Labyrinth",
"properties": [
{"name": "Map",
"value": this.GameDungeon == null? "<b>NOT DUNGEON CREATED YET</b>" : GraphiqueDungeon(this.GameDungeon),
"html": true,
"readonly": true}
]
});
};
For otherwise, in c3runtime
GetDebuggerProperties()
{
const Acts = C3.Plugins.random_dungeon_maker.Acts;
const prefix = "plugins.Plugins.random_dungeon_maker.debugger.MapProperties";
return [{
title:"Labyrinth",
properties: [
{name: "Map",
value: C3.Plugins.random_dungeon_maker.GameDungeon == null? "<b>NOT DUNGEON CREATED YET</b>" : GraphiqueDungeon(C3.Plugins.random_dungeon_maker.GameDungeon),
html: true}
]
}];
}
The problem in this code is that the html property doesn´t work and the value not formated in HTML.
Is possible convert the string in HTML like Construct2 or this is not available yet?