The Markdown body must always come after it. The YAML header is contained in triple dashes ( -) it must always come first, and You must always have an origin.md room this is the room in which the playerĪs you can see, every room file is split into two parts: a YAML header and a Markdown Your game, and it contains all of the rooms of your game in the form of Markdown Once it is installed, you can run the following command in your terminal to create aĪ directory called "my_new_game" will be created, and some default files will beĪs you can see, a directory called "rooms" has been created inside the directory of Installation instructions to install Paignion on your computer. Own eyes how simple it is to create a game, you can follow the If you want to see a minimal example of a game built with Paignion to witness with your Order to make games the actual game runs in a browser and does not have any It takes a bunch of specifically formatted Markdown files written by you, the gameĭeveloper, and turns them into a JavaScript-based text adventure game, which you canĮasily send to friends or serve on your site. You can then open a browser, go to localhost:4000 and enjoy :) What is Paignion? Serving it locally, for example with http-server: $ cd examples/complete_demo/build This will build the complete demo at examples/complete_demo/build. $ python3 -m paignion build examples/complete_demo # Build demo game $ python3 -m pip install -r requirements.txt # Install dependencies This repo and build the example games locally to test them: $ git clone If you just want to play a game made with Paignion to see what it can do, you can clone Paignion is a Python-generated, JavaScript-powered game engine for text adventure
0 Comments
Leave a Reply. |