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:
- Define characters. Those are defined by names (string) and an image (arcade.Sprite).
- setup the view, you should give him, as parameter, the json dialog path.
- define the events. If exist.
- 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?
- Create a new json file and create an object insiede
- The attributes of this first object must be see as LABEL. Well-Know: "init" is the dialog entry pointer
- Each Label, contain an attribute called "block" (this is an array)
- 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
Metadata
Release files for graphic-novel-pyarcade 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| graphic_novel_pyarcade-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for graphic_novel_pyarcade-0.2.0-py3-none-any.whl |
Release files / graphic_novel_pyarcade-0.2.0-py3-none-any.whl
| Download URL | graphic_novel_pyarcade-0.2.0-py3-none-any.whl |
|---|---|
| Size | 14.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aa826242f11030bbf7fbda65f7a6d4613096b54ae3a11fb650905f88ae73af9f
|
|
BLAKE2b-256 checksum How to use checksums |
9e495df7daa6d485ed37e6a343312b4e5303d486c35f0d244aa8de34976a6b4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.6
|
Security for graphic-novel-pyarcade 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.