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.

Files for SimpleVN, version 0.0.8
Filename, size File type Python version Upload date Hashes
Filename, size SimpleVN-0.0.8-py3-none-any.whl (6.7 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page