Skip to main content

A simple module to create really quick visual novels

Project description

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()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

SimpleVN-0.0.8-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file SimpleVN-0.0.8-py3-none-any.whl.

File metadata

  • Download URL: SimpleVN-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for SimpleVN-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 d602534d2e620b9f24f89e8277e9a4583133da1c98ba967476c7709516cd67d3
MD5 32ab73290e7a4e77fb33b1267eb74e46
BLAKE2b-256 7756d7a9d0c7a7d2cfdd30f2b9de464406f1595d0dd171606702a2f61df53164

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page