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 Distribution

SimpleVN-0.0.5.tar.gz (1.6 kB view hashes)

Uploaded Source

Built Distribution

SimpleVN-0.0.5-py3-none-any.whl (2.5 kB view hashes)

Uploaded Python 3

Supported by

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