Gal, Novel DSL Impl.
- Say
- Let Flag
- Choice
- Global Novel
- Create A Sub Novel
- Comments
- Command
- Inject Code
- Camera Move
- Model Action
- Chapter
Say 「 Hello World 」
lfkdsk [ status ] Say 「 Hello World 」
example:
lfkdsk [Angry] Say 「 I'm Angry 」# change status pic with status.
SET VAR_NAME = VALUE
> COMMAND ARGS
example:
> Music 异邦人
> Background 体育仓库
--- [Python or Other Script Type]
# Write Python Code.
---
Choice Jump Novel.
- [Choice 1] to Novel 1
- [Choice 2] to Novel 2
- [Choice 3] to Novel 3
Choice change flag.
- [Choice 1] to lambda 1
- [Choice 2] to lambda 2
- [Choice 3] to lambda 3
# bind camera
+ { A : [ x, y, scale ] , B : [x, y, scale]}
# unbind camera
- [A , B]
=== Chapter 1 ===
show empty with text chapter x
[A] -> Action
example:
[someone] -> reset dresses
# its a comment
may show this in debugger mode or toolkit window.
Start <Novel Name>
# other stmts.
End <Novel>
NOVEL_START
# Novel Script
NOVEL_END