Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrcyjanek/ren-php
Interactive Novel in PHP
https://github.com/mrcyjanek/ren-php
interactive-fiction interactive-fiction-engine visual-novel visual-novel-engine
Last synced: about 2 months ago
JSON representation
Interactive Novel in PHP
- Host: GitHub
- URL: https://github.com/mrcyjanek/ren-php
- Owner: MrCyjaneK
- License: gpl-3.0
- Created: 2020-07-25T13:43:50.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-14T09:29:18.000Z (over 3 years ago)
- Last Synced: 2024-10-24T04:28:41.103Z (about 2 months ago)
- Topics: interactive-fiction, interactive-fiction-engine, visual-novel, visual-novel-engine
- Language: PHP
- Homepage: https://oldpc.mrcyjanek.net/in/
- Size: 566 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.txt
- License: LICENSE
Awesome Lists containing this project
README
--------------------------------------------------
| mmmmm m mmmmm m m mmmmm |
| # "# mmm m mm # # "# # # # "# |
| #mmmm" #" # #" # #mmm#" #mmmm# #mmm#" |
| # "m #"""" # # # # # # |
| # " "#mm" # # # # # # |
-------------| Visual Novel engine written in php |
------------------------------------Live demo can be found at oldpc.mrcyjanek.net/in/
If you want to edit content open 'data.php' file
I've used 'define('ME', 'Czarek Nakamoto');' to
define my username and 'define('YOU', 'You');'
to define your username, to make sure that I'll
not make any spelling mistakes, and it will be
easy for me to change character's name in future.Then I've used following function to add content
scenario_add('entry', YOU, "Hello", ["entry0" => "-->"], "./static/default.jpg");
| | | | |
| | | | \ Link to image.
| | | \ Array of answers in format of scene -> text
| | \___ Text to display
| \___ Name of character, defined earlier
\___ Name of scene (entry is first one)