Novella Game
46 nodes
On this page 46
Choices Variable
FunctionWith NovellaGame.HeadlessVariable, the menu choices to make, by position among the options shown and separated by commas (1,0,2); once they run out the first option is chosen. How a document's other routes are played without a desktop.
ChoicesVariable() -> Text
string ChoicesVariable()
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Headless Variable
FunctionThe environment variable that makes NovellaGame.Run play headless: its value is how many interactions to play.
HeadlessVariable() -> Text
string HeadlessVariable()
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Screenshots Variable
FunctionWith NovellaGame.HeadlessVariable, a folder to save a described picture of every interaction in, so a document's frames can be looked at as well as its transcript read.
ScreenshotsVariable() -> Text
string ScreenshotsVariable()
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Make Novella Game
FunctionMakes a game with a title and a resolution.
NovellaGame -> Novella Game
title: Text
width: Integer
height: IntegerNovellaGame NovellaGame(
string title = "Novella Game",
int width = 1280,
int height = 720)Parameters
| name | type | default | description |
|---|---|---|---|
| title | Text | Novella Game | The game's name, shown in the window title and on the main menu. |
| width | Integer | 1280 | The resolution everything is laid out at; the window scales it. |
| height | Integer | 720 | The resolution's height. |
Returns
| result | Novella Game |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Make Novella Game From Definition
FunctionMakes a game from a definition built elsewhere, such as by a functional graph.
NovellaGame(definition: Game Definition) -> Novella Game
NovellaGame NovellaGame(GameDefinition definition)
Parameters
| name | type | default | description |
|---|---|---|---|
| definition | Game Definition | — |
Returns
| result | Novella Game |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Achieve
FunctionLive script: grants an achievement.
Achieve(Novella Game: Novella Game, achievement: Text)
void Achieve(NovellaGame Novella Game, string achievement)
Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| achievement | Text | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Add Asset
FunctionAdds one file from memory, under a path scripts refer to it by.
AddAsset
Novella Game: Novella Game
path: Text
data: Byte Arrayvoid AddAsset(
NovellaGame Novella Game,
string path,
byte[] data)Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| path | Text | — | |
| data | Byte Array | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Add Asset Folder
FunctionAdds a folder of game files: images, audio, video, fonts, scripts.
AddAssetFolder(Novella Game: Novella Game, folder: Text)
void AddAssetFolder(NovellaGame Novella Game, string folder)
Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| folder | Text | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Add Library Assets
FunctionAdds the files embedded in this Divooka document's library: its images, sounds, fonts and scripts.
AddLibraryAssets
Novella Game: Novella Game
_library: IDivookaAssetLibraryvoid AddLibraryAssets(
NovellaGame Novella Game,
IDivookaAssetLibrary _library)Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| _library | IDivookaAssetLibrary | — | The document's library (supplied automatically). |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Add Scene
FunctionAdds a scene: a label made from a scene's background, music, lines and ending.
AddScene(Novella Game: Novella Game, scene: Scene)
void AddScene(NovellaGame Novella Game, SceneDefinition scene)
Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| scene | Scene | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Add Story
FunctionAdds a story built elsewhere (from nodes or code).
AddStory(Novella Game: Novella Game, story: Story)
void AddStory(NovellaGame Novella Game, Story story)
Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| story | Story | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Call Label
FunctionLive script: runs a story label to its return, then comes back here.
CallLabel(Novella Game: Novella Game, label: Text)
void CallLabel(NovellaGame Novella Game, string label)
Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| label | Text | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Define Character
FunctionDefines a character.
DefineCharacter -> Character Definition
Novella Game: Novella Game
ID: Text
name: Text
color: Text
image: TextCharacterDefinition DefineCharacter(
NovellaGame Novella Game,
string id,
string name,
string color = "",
string image = "")Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| ID | Text | — | The name scripts use for the character. |
| name | Text | — | The name shown when they speak. |
| color | Text | — | The name's colour, such as #c0392b. |
| image | Text | — | The character's image tag, so lines can change their expression. |
Returns
| result | Character Definition |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Define Image
FunctionDefines an image by name from a file among the assets (or a colour such as #000).
DefineImage(Novella Game: Novella Game, name: Text, file: Text)
void DefineImage(
NovellaGame Novella Game,
string name,
string file)Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| name | Text | — | |
| file | Text | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Get Number
FunctionReads a story variable as a number.
GetNumber(Novella Game: Novella Game, name: Text) -> Number
double GetNumber(NovellaGame Novella Game, string name)
Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| name | Text | — |
Returns
| Value | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Get Variable
FunctionReads a story variable as text.
GetVariable(Novella Game: Novella Game, name: Text) -> Text
string GetVariable(NovellaGame Novella Game, string name)
Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| name | Text | — |
Returns
| Value | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Hide
FunctionLive script: hides an image.
Hide(Novella Game: Novella Game, tag: Text, with: Text)
void Hide(
NovellaGame Novella Game,
string tag,
string with = "")Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| tag | Text | — | |
| with | Text | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Input
FunctionLive script: asks the player to type something and returns it.
Input -> Text
Novella Game: Novella Game
prompt: Text
defaultText: Textstring Input(
NovellaGame Novella Game,
string prompt,
string defaultText = "")Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| prompt | Text | — | |
| defaultText | Text | — |
Returns
| Text | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Load Script
FunctionAdds a script, given as text.
LoadScript(Novella Game: Novella Game, script: Text, name: Text)
void LoadScript(
NovellaGame Novella Game,
string script,
string name = "script.novella")Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| script | Text | — | Novella script. |
| name | Text | script.novella | A name for messages, such as the file it came from. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Load Script File
FunctionAdds a script file from disk.
LoadScriptFile(Novella Game: Novella Game, path: Text)
void LoadScriptFile(NovellaGame Novella Game, string path)
Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| path | Text | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Load Scripts From Assets
FunctionAdds every script (.novella) among the game's files, under a folder or everywhere.
LoadScriptsFromAssets -> Integer
Novella Game: Novella Game
folder: Textint LoadScriptsFromAssets(
NovellaGame Novella Game,
string folder = "")Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| folder | Text | — |
Returns
| Count | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Menu
FunctionLive script: offers choices and returns the index of the one chosen.
Menu -> Integer
Novella Game: Novella Game
choices: Text Array
caption: Textint Menu(
NovellaGame Novella Game,
string[] choices,
string caption = "")Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| choices | Text Array | — | The choices' text. |
| caption | Text | — | An optional line shown with the choices. |
Returns
| Choice | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Narrate
FunctionLive script: narration.
Narrate(Novella Game: Novella Game, text: Text)
void Narrate(NovellaGame Novella Game, string text)
Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| text | Text | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Notify
FunctionLive script: shows a notification.
Notify(Novella Game: Novella Game, text: Text)
void Notify(NovellaGame Novella Game, string text)
Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| text | Text | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Pause
FunctionLive script: waits for a time, or for a click when the time is zero.
Pause(Novella Game: Novella Game, seconds: Number)
void Pause(NovellaGame Novella Game, double seconds = 0)
Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| seconds | Number | 0 |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Play
FunctionLive script: plays a file on a channel (music loops, sound plays once).
Play
Novella Game: Novella Game
channel: Text
file: Text
fadeIn: Numbervoid Play(
NovellaGame Novella Game,
string channel,
string file,
double fadeIn = 0)Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| channel | Text | — | |
| file | Text | — | |
| fadeIn | Number | 0 |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Random Integer
FunctionA random whole number from the story's own generator, so rolling back and choosing again draws the same one.
RandomInteger -> Integer
Novella Game: Novella Game
minimum: Integer
maximum: Integerint RandomInteger(
NovellaGame Novella Game,
int minimum,
int maximum)Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| minimum | Integer | — | The smallest number it can be. |
| maximum | Integer | — | The largest number it can be. |
Returns
| Number | Integer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Register Command
FunctionRegisters a command that takes no arguments and returns nothing, the shape a Divooka function graph has most often.
RegisterAction
Novella Game: Novella Game
name: Text
action: Actionvoid RegisterAction(
NovellaGame Novella Game,
string name,
Action action)Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| name | Text | — | |
| action | Action | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Register Command Function
FunctionRegisters a command that takes arguments and answers: a graph given the arguments as text, whose answer the story reads as _return (a number, true or false, or text, as typed).
RegisterCommandFunction
Novella Game: Novella Game
name: Text
handler: Func<Text Array, Text>void RegisterCommandFunction(
NovellaGame Novella Game,
string name,
Func<string[], string> handler)Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| name | Text | — | What run names the command by. |
| handler | Func<Text Array, Text> | — | The graph: text in, text out. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Register Expression Function
FunctionRegisters a function conditions, text and effects can call by name, such as [title_for(trust)]: a graph given the arguments as text, whose answer is read as typed.
RegisterExpressionFunction
Novella Game: Novella Game
name: Text
function: Func<Text Array, Text>void RegisterExpressionFunction(
NovellaGame Novella Game,
string name,
Func<string[], string> function)Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| name | Text | — | What expressions call it by. |
| function | Func<Text Array, Text> | — | The graph: text in, text out. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Run
FunctionOpens the game in a window and plays until the player quits.
Run(Novella Game: Novella Game)
void Run(NovellaGame Novella Game)
Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — |
Remarks
With NovellaGame.HeadlessVariable set to a number, it plays that many interactions headless through the game's real controls instead, choosing the options NovellaGame.ChoicesVariable lists and then the first option of every menu, and prints what was said: how an example document or a build is checked without a desktop.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Say
FunctionLive script: a character says a line, and the call returns when the player continues.
Say(Novella Game: Novella Game, character: Text, text: Text)
void Say(
NovellaGame Novella Game,
string character,
string text)Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| character | Text | — | A character id, or empty for narration. |
| text | Text | — | The line, with text tags if wanted. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Scene
FunctionLive script: clears the stage and shows a background.
Scene(Novella Game: Novella Game, image: Text, with: Text)
void Scene(
NovellaGame Novella Game,
string image = "",
string with = "")Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| image | Text | — | |
| with | Text | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Set Config
FunctionSets a configuration value, as define config.name = value does in a script: text, a number, true or false. A value set here holds over the scripts' own definition of the key.
SetConfig(Novella Game: Novella Game, key: Text, value: Text)
void SetConfig(
NovellaGame Novella Game,
string key,
string value)Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| key | Text | — | The setting, such as version, text_speed, main_menu_music. |
| value | Text | — | The value as written: 1.2, true, audio/theme.ogg. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Set Default
FunctionSets a variable's initial value, as default does.
SetDefault
Novella Game: Novella Game
variable: Text
value: Textvoid SetDefault(
NovellaGame Novella Game,
string variable,
string value)Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| variable | Text | — | |
| value | Text | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Set Resolution
FunctionSets the resolution the game is laid out at.
SetResolution
Novella Game: Novella Game
width: Integer
height: Integervoid SetResolution(
NovellaGame Novella Game,
int width = 1920,
int height = 1080)Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| width | Integer | 1920 | |
| height | Integer | 1080 |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Set Result
FunctionAnswers the run command being handled: the story reads this as _return.
SetResult(Novella Game: Novella Game, value: Text)
void SetResult(NovellaGame Novella Game, string value)
Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| value | Text | — | The answer, as written: text, a number, true or false. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Set Theme
FunctionSets a theme value, as define theme.name = value does: a colour, a size, an image file, a font. A value set here holds over the scripts' own definition of the key.
SetTheme(Novella Game: Novella Game, key: Text, value: Text)
void SetTheme(
NovellaGame Novella Game,
string key,
string value)Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| key | Text | — | The setting, such as text_font, accent_color, textbox_image. |
| value | Text | — | The value as written: #c0392b, 36, gui/textbox.png; a list as [40, 40, 40, 40]. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Set Title
FunctionSets the game's title.
SetTitle(Novella Game: Novella Game, title: Text)
void SetTitle(NovellaGame Novella Game, string title)
Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| title | Text | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Set Variable
FunctionSets a story variable (in a live script, or from a command).
SetVariable(Novella Game: Novella Game, name: Text, value: Text)
void SetVariable(
NovellaGame Novella Game,
string name,
string value)Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| name | Text | — | |
| value | Text | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Show
FunctionLive script: shows an image, optionally at a position and with a transition.
Show
Novella Game: Novella Game
image: Text
at: Text
with: Textvoid Show(
NovellaGame Novella Game,
string image,
string at = "",
string with = "")Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| image | Text | — | An image name: a tag and attributes, such as qinglan smile. |
| at | Text | — | A transform: left, center, right, or one the story defines. |
| with | Text | — | A transition: dissolve, fade and so on. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Stop
FunctionLive script: stops a channel.
Stop(Novella Game: Novella Game, channel: Text, fadeOut: Number)
void Stop(
NovellaGame Novella Game,
string channel,
double fadeOut = 0)Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| channel | Text | — | |
| fadeOut | Number | 0 |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
To String
FunctionThis node carries no documentation.
ToString(Novella Game: Novella Game) -> Text
string ToString(NovellaGame Novella Game)
Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Translate Text
FunctionText in the player's language, through the story's string translations (translate ... strings).
TranslateText(Novella Game: Novella Game, text: Text) -> Text
string TranslateText(NovellaGame Novella Game, string text)
Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| text | Text | — |
Returns
| Text | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
Validate
FunctionChecks the story: undefined labels, characters, images, files, commands. Returns the problems found.
Validate(Novella Game: Novella Game) -> Text Array
string[] Validate(NovellaGame Novella Game)
Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — |
Returns
| Problems | Text Array |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels
With
FunctionLive script: runs a transition over what changed.
With(Novella Game: Novella Game, transition: Text)
void With(NovellaGame Novella Game, string transition)
Parameters
| name | type | default | description |
|---|---|---|---|
| Novella Game | Novella Game | — | |
| transition | Text | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Events Routine StateMachineState
- Declared by
- Novella Game
- Package
- Novella Visual Novels