# visual_novel_pyarcade
👨💻 Visual novel with python arcade https://github.com/pythonarcade/arcade
##
# Feature
- character managment
- event managment
- dialog-tree based on json format
##
# How to use
Steps:
1. Define characters. Those are defined by names (string) and an image (arcade.Sprite).
2. setup the view, you should give him, as parameter, the json dialog path.
3. define the events. If exist.
4. Set the new view and use it
Please look also the emample/simple_example.py
##
# How to use View (user guide)
By default the keyboard layout is configured in followed way:
ENTER: Next Dialog
TAB: Skip dialog (until menu or opened answer)
H: hide gui (If skip active the messages keep going)
## How make a dialog
The objective of this framework is to achieve it as simple task.
What do you need?
1. Create a new json file and create an object insiede
2. The attributes of this first object must be see as LABEL. Well-Know: "init" is the dialog entry pointer
3. Each Label, contain an attribute called "block" (this is an array)
4. Each array element, Is composed always by:
- name character, as a string (case sensitive)
- message
- can be a string (that mean what the character said)
- can be a menu (an object)
- actions (if the message type is not a menu)
- Those are composed by two words: ACTION ARGUMENT
- The actions implemented are: move, alpha, restart, jmp
How to write a menu?
The menu is an object composed by two attributes: "menu" (with only a value implemented: regular) and "choice" an array of objects composed as follow: "txt" is a string containing the text and "jmp" the label where you want to jump after the selection of choice
Raw data
{
"_id": null,
"home_page": "https://github.com/deangelisdf/graphic_novel_pyarcade",
"name": "graphic-novel-pyarcade",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6, <4",
"maintainer_email": "",
"keywords": "graphic novel,game development,arcade",
"author": "Domenico Francesco De Angelis",
"author_email": "deangelis1993@gmail.com",
"download_url": "",
"platform": null,
"description": "# visual_novel_pyarcade\r\n\ud83d\udc68\u200d\ud83d\udcbb Visual novel with python arcade https://github.com/pythonarcade/arcade\r\n##\r\n# Feature\r\n - character managment\r\n - event managment\r\n - dialog-tree based on json format\r\n\r\n##\r\n# How to use\r\nSteps:\r\n1. Define characters. Those are defined by names (string) and an image (arcade.Sprite).\r\n2. setup the view, you should give him, as parameter, the json dialog path.\r\n3. define the events. If exist.\r\n4. Set the new view and use it\r\n\r\nPlease look also the emample/simple_example.py\r\n\r\n##\r\n# How to use View (user guide)\r\nBy default the keyboard layout is configured in followed way:\r\n\r\nENTER: Next Dialog\r\n\r\nTAB: Skip dialog (until menu or opened answer)\r\n\r\nH: hide gui (If skip active the messages keep going)\r\n\r\n## How make a dialog\r\nThe objective of this framework is to achieve it as simple task.\r\nWhat do you need?\r\n1. Create a new json file and create an object insiede\r\n2. The attributes of this first object must be see as LABEL. Well-Know: \"init\" is the dialog entry pointer\r\n3. Each Label, contain an attribute called \"block\" (this is an array)\r\n4. Each array element, Is composed always by:\r\n - name character, as a string (case sensitive)\r\n - message\r\n - can be a string (that mean what the character said)\r\n - can be a menu (an object)\r\n - actions (if the message type is not a menu)\r\n - Those are composed by two words: ACTION ARGUMENT\r\n - The actions implemented are: move, alpha, restart, jmp\r\n \r\nHow to write a menu?\r\nThe menu is an object composed by two attributes: \"menu\" (with only a value implemented: regular) and \"choice\" an array of objects composed as follow: \"txt\" is a string containing the text and \"jmp\" the label where you want to jump after the selection of choice\r\n",
"bugtrack_url": null,
"license": "",
"summary": "Little framework to create a graphic novel with python arcade",
"version": "0.2.0",
"project_urls": {
"Bug Reports": "https://github.com/deangelisdf/graphic_novel_pyarcade/issues",
"Homepage": "https://github.com/deangelisdf/graphic_novel_pyarcade",
"Source": "https://github.com/deangelisdf/graphic_novel_pyarcade"
},
"split_keywords": [
"graphic novel",
"game development",
"arcade"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9e495df7daa6d485ed37e6a343312b4e5303d486c35f0d244aa8de34976a6b4b",
"md5": "88d3f75c64f12e35895ef2645a8e7f88",
"sha256": "aa826242f11030bbf7fbda65f7a6d4613096b54ae3a11fb650905f88ae73af9f"
},
"downloads": -1,
"filename": "graphic_novel_pyarcade-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "88d3f75c64f12e35895ef2645a8e7f88",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6, <4",
"size": 14750,
"upload_time": "2023-09-23T15:02:17",
"upload_time_iso_8601": "2023-09-23T15:02:17.880713Z",
"url": "https://files.pythonhosted.org/packages/9e/49/5df7daa6d485ed37e6a343312b4e5303d486c35f0d244aa8de34976a6b4b/graphic_novel_pyarcade-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-23 15:02:17",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "deangelisdf",
"github_project": "graphic_novel_pyarcade",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "graphic-novel-pyarcade"
}