元編程參考文件

Novella 應用

6 個節點

本頁內容 6

建立 Novella 應用

函數

此節點沒有文件說明。

簽名
建立 Novella 應用() -> Novella Application
NovellaApplication NovellaApplication()

返回

Novella ApplicationNovella Application
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 例程 狀態機狀態
宣告於
Novella Application
所屬包
Novella 視覺小說

命令

事件

Implements a run command the game did not register by name; answer with NovellaGame.SetResult, which the story reads as _return.

簽名
命令(名稱: 文字, 參數: 文字陣列)
void Command(string name, string[] arguments)

參數

名稱型別預設值說明
名稱文字—The command's name.
參數文字陣列—The arguments, as text.
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 狀態機狀態
宣告於
Novella 遊戲
所屬包
Novella 視覺小說

遊戲結束時

事件

Called when a story ends, before the main menu returns.

簽名
遊戲結束時()
void GameEnded()
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 狀態機狀態
宣告於
Novella 遊戲
所屬包
Novella 視覺小說

進入標籤時

事件

Called when the story enters a label.

簽名
進入標籤時(標籤: 文字)
void LabelEntered(string label)

參數

名稱型別預設值說明
標籤文字—
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 狀態機狀態
宣告於
Novella 遊戲
所屬包
Novella 視覺小說

指令碼

事件

A live script: if implemented, starting the game runs this instead of the story's start label, and every Say, Show, Menu and the rest called from it plays immediately.

簽名
指令碼()
void Script()

備註

A live script cannot be saved or rolled back part-way, because its position is in a running procedure rather than in the story.

所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 狀態機狀態
宣告於
Novella 遊戲
所屬包
Novella 視覺小說

設定

事件

Configures the game before it opens: the place for definitions, settings and content.

簽名
設定()
void Setup()
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
事件 狀態機狀態
宣告於
Novella 遊戲
所屬包
Novella 視覺小說