So it is possible? could there be a logarithm made that converts/makes ren'py games into html games?There were some projects around trying to achieve a conversion. But none that worked for me so far So either do it manually yourself... or write a transpilation from renpy+python -> html, css, javaScript
It's definitely possible, but there is no automatic converter.So it is possible? could there be a logarithm made that converts/makes ren'py games into html games?
...
let script = {
"English":{
"Start": [
"notify Welcome",
{
"Input": {
"Text": "What is your name?",
"Validation": function (input) {
return input.trim().length > 0;
},
"Save": function (input) {
storage.player.Name = input;
return true;
},
"Warning": "You must enter a name!"
}
},
"h Hi {{player.Name}} Welcome to Monogatari!",
{
"Choice": {
"Dialog": "h Have you already read some documentation?",
"Yes": {
"Text": "Yes",
"Do": "jump Yes"
},
"No": {
"Text": "No",
"Do": "jump No"
}
}
}
],
"Yes": [
"h That's awesome!",
"h Then you are ready to go ahead and create an amazing Game!",
"h I can't wait to see what story you'll tell!",
"end"
],
"No": [
"h You can do it now.",
"display message Help",
"h Go ahead and create an amazing Game!",
"h I can't wait to see what story you'll tell!",
"end"
]
}
};
OMFG !!!!!!!! He let the console enabled...There's another forum post discussing this:You must be registered to see the links
This particular project seems to have attracted PyTom's attention, so with some time it might become "official." Until then, however, there isn't an "official" way to do this.
The HTML game development tool I mentioned above (Twine/SugarCube) has saving built-in (along with a bunch of other features), so that should make saving a lot easier.It's been a while since I have not looked at what could be done in html etc ... But it seems to me that the save part will pose problem.