Does anyone know how to use JSON in Ren'Py?
I recently downloaded Ren'Py, a visual novel engine, from this link for windows: http://www.renpy.org/dl/6.18.2/renpy-6.18.2-sdk.zip.
I want to incorporate a Final Fantasy styled battle engine into Ren'Py.
An example of such a battle engine can be found at http://files.eviscerate.net/games/videogames/battle/battleengine-a7.5.zip
I have also been informed about a program called "Tiled" and here's the link for that: http://www.mapeditor.org/download.html
Pertaining to my question, I have basic JSON working in Notepad++, yet I am unsure how to get it working in Ren'Py. In Ren'Py one may use LiveComposite to incorporate the JSON data, yet I am unsure where to save the JSON data. Would it be in it's own .rpy file in the "games" folder?
If anyone knows anything about Ren'Py, past making a basic story, that would be super-awesome :)
I want to incorporate a Final Fantasy styled battle engine into Ren'Py.
An example of such a battle engine can be found at http://files.eviscerate.net/games/videogames/battle/battleengine-a7.5.zip
I have also been informed about a program called "Tiled" and here's the link for that: http://www.mapeditor.org/download.html
Pertaining to my question, I have basic JSON working in Notepad++, yet I am unsure how to get it working in Ren'Py. In Ren'Py one may use LiveComposite to incorporate the JSON data, yet I am unsure where to save the JSON data. Would it be in it's own .rpy file in the "games" folder?
If anyone knows anything about Ren'Py, past making a basic story, that would be super-awesome :)
Comments
I can't seem to find a Ren'Py specific JSON implementation, but seeing as Ren'Py runs on Python and allows the use of Python scripts. You can find an appropriate Python script to integrate and work with the JSON files.
A link to the first tutorial here:
https://www.youtube.com/watch?list=PLQVvvaa0QuDcxG_Cajz1JyTH6eAvka93C&feature=player_detailpage&v=Y7joZ67mC6o
I found that one may import your pygame into Ren'py and you may also use Tiled's .json file in pygame, so I'm going that route for now.