novelate.core

Copyright © Novelate 2020

Members

Enums

LayerType
enum LayerType

Enumeration of layer types. There are 10 available layers ranging from 0 - 9 as indexes. 7 is the largest named frame.

StandardScreen
enum StandardScreen

Enumeration of standard screens.

Functions

addScreen
void addScreen(Screen screen)

Adds a screen to the game.

changeActiveScreen
void changeActiveScreen(string screenName, string[] data)

Changes the active screen.

changeResolution
void changeResolution(size_t width, size_t height, bool fullScreen)

Changes the resolution of the game. This should preferebly only be of the following resolutions: 800x600, 1024x768 or 1280x720. However any resolutions are acceptable but may have side-effects attached such as invalid rendering etc. All set resolutions are saved to a res.ini file in the data folder allowing for resolutions to be kept across instances of the game.

initialize
void initialize()

Initializes the game.

loadCreditsVideo
void loadCreditsVideo()

Loads the credits video. Currently does nothing.

removeScreen
void removeScreen(string screenName)

Removes a screen from the game.

run
void run()

Runs the game/event/UI loop.

Meta

Authors

Jacob Jensen (bausshf) Website: https://novelate.com/

Novelate is a free and open-source visual novel engine and framework written in the D programming language.
It can be used freely for both personal and commercial projects.

Module Description: The core module for Novelate exposes misc. core functionality of the engine.