Does anyone know how to use JSON in Ren'Py?


Notice: Undefined variable: GuestHourOffset in /home/nitrogen/public_html_mgsatest/forums/themes/mgsa/class.mgsathemehooks.php on line 281

Notice: Undefined variable: GuestHourOffset in /home/nitrogen/public_html_mgsatest/forums/themes/mgsa/class.mgsathemehooks.php on line 281
edited in Questions and Answers
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 :)

Comments


  • Notice: Undefined variable: GuestHourOffset in /home/nitrogen/public_html_mgsatest/forums/themes/mgsa/class.mgsathemehooks.php on line 281
    Haven't looked into Ren'Py is quite a while (I have a huge soft spot for it and its games)

    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.

  • Notice: Undefined variable: GuestHourOffset in /home/nitrogen/public_html_mgsatest/forums/themes/mgsa/class.mgsathemehooks.php on line 281
    :) Thanx for the input,I am currently studying using pygame in Python.
    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.
Sign In or Register to comment.

Debug Trace

Info Need to re-index theme cache
Info Need to re-index plugin cache
Info CommentModel->PageWhere()
Info
Comment.Page.30.2514.1: false
Info CommentModel->CachePageWhere()
Info
Comment.Page.30.2514.1: array (
  0 => '2014-10-14 13:57:45',
)
Notice Undefined variable: GuestHourOffset
/home/nitrogen/public_html_mgsatest/forums/themes/mgsa/class.mgsathemehooks.php line 281.
/home/nitrogen/public_html_mgsatest/forums/library/core/class.format.php line 465.
/home/nitrogen/public_html_mgsatest/forums/themes/mgsa/views/discussion/discussion.php line 62.
/home/nitrogen/public_html_mgsatest/forums/themes/mgsa/views/discussion/index.php line 35.
Notice Undefined variable: GuestHourOffset
/home/nitrogen/public_html_mgsatest/forums/themes/mgsa/class.mgsathemehooks.php line 281.
/home/nitrogen/public_html_mgsatest/forums/library/core/class.format.php line 465.
/home/nitrogen/public_html_mgsatest/forums/library/core/functions.render.php line 338.
/home/nitrogen/public_html_mgsatest/forums/themes/mgsa/views/discussion/discussion.php line 66.
Notice Undefined variable: GuestHourOffset
/home/nitrogen/public_html_mgsatest/forums/themes/mgsa/class.mgsathemehooks.php line 281.
/home/nitrogen/public_html_mgsatest/forums/library/core/class.format.php line 465.
/home/nitrogen/public_html_mgsatest/forums/themes/mgsa/class.mgsathemehooks.php line 712.
/home/nitrogen/public_html_mgsatest/forums/applications/vanilla/views/discussion/comments.php line 19.
Notice Undefined variable: GuestHourOffset
/home/nitrogen/public_html_mgsatest/forums/themes/mgsa/class.mgsathemehooks.php line 281.
/home/nitrogen/public_html_mgsatest/forums/library/core/class.format.php line 465.
/home/nitrogen/public_html_mgsatest/forums/themes/mgsa/class.mgsathemehooks.php line 712.
/home/nitrogen/public_html_mgsatest/forums/applications/vanilla/views/discussion/comments.php line 19.