Simple Vn
A simple Python module for creating super quick visual novels
Implementation
The module is written entirely in Python 3 (Python 2 Compatible). All classes and code is contained in main.py. The code is organized in a structured, object orientated approach with the use of two main game states: speaking and replying.
How To Use
Install via pip with the command
pip -m install simplevn
Make sure python is added to you PATH
The basic code format to get a game going is
import simplevn
// Create a new game instance
g = simplevn.Game()
// Load all facial expressions/body gestures
g.load_expressions([
"smiling.png",
"frowning.png",
"laughing.png"
])
// Load all backgrounds/backdrops
g.load_backgrounds([
"school.png",
"hallway.png",
"bedroom.png",
"gymnasium.png"
])
// Load formatted scripts
g.load_scripts([
"scene1.txt",
"scene2.txt"
])
// Run game continuously
while(true):
g.run()
Release files for SimpleVN 0.0.8
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 | Reset |
|---|---|---|---|---|
| SimpleVN-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Release files / SimpleVN-0.0.8-py3-none-any.whl
| Download URL | SimpleVN-0.0.8-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d602534d2e620b9f24f89e8277e9a4583133da1c98ba967476c7709516cd67d3
|
|
BLAKE2b-256 checksum How to use checksums |
7756d7a9d0c7a7d2cfdd30f2b9de464406f1595d0dd171606702a2f61df53164
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.0 CPython/3.6.5
|