The backend and API code for the Unscripted minigame.
Project description
Fira
Fira is the main backend and API code for the minigame in Unscripted, a visual novel about software development. Fira provides many facets of the minigame, including a public API that players can use to code solutions to the minigame puzzles, a configuration and data generator from level files, and a virtual machine that runs low-level code that the minigame processes (NadiaVM). Fira is named after Fira Sans, one of the game's characters.
Getting started
Fira comes pre-packaged in Unscripted but can be installed outside of the game to work better with IDEs and other Python tools such as Poetry.
Usage
For players installing this package to solve minigame puzzles, using the Fira package to access the API is relatively straightforward:
from uvn_fira.api import get_level_information, CSPlayer, CSWorld
gp, gw = get_level_information(0,
fn_path=renpy.config.savedir + "/minigame",
exists=renpy.loadable,
load=renpy.exports.file)
Documentation on the API is located inside of Unscripted by going to Help › Minigame or Settings › Minigame.
The documentation for the entire package is located at https://fira.marquiskurt.net, which is useful for developers that wish to make custom toolkits that connect to the minigame's virtual machine or for modders that wish to make custom minigame levels.
Reporting bugs
Bugs and feature requests for Fira can be submitted on GitHub.
License
The Fira package is licensed under the Mozilla Public License v2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file uvn-fira-1.3.1.tar.gz
.
File metadata
- Download URL: uvn-fira-1.3.1.tar.gz
- Upload date:
- Size: 19.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/2.7.16 Darwin/19.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6d1fd42868e97c1c4d7c3b1bec6a5071c912ffb9474a7ac34adfdabcb226ed0 |
|
MD5 | efb30306b3ccfdb388373ef91953dae7 |
|
BLAKE2b-256 | a9a9a7b13b4d34fa2001bc30c0e1890a87d894f9219f828c2b3686444bd74414 |
File details
Details for the file uvn_fira-1.3.1-py2.py3-none-any.whl
.
File metadata
- Download URL: uvn_fira-1.3.1-py2.py3-none-any.whl
- Upload date:
- Size: 25.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/2.7.16 Darwin/19.4.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d6588db72e983216e48a93d43a32fea7ad3416684901b7c7c14ab9c9ab69f55 |
|
MD5 | 4a4c3708568dba7a06958168807e04cb |
|
BLAKE2b-256 | 8568ba274466a741b97890884020c03958b953aa204b764dd55633ac8a87eaaf |