Add visual novel sprite staging

This commit is contained in:
Meta Vens 2026-05-31 00:41:14 +01:00
commit 9001ef6ab2
9 changed files with 727 additions and 19 deletions

View file

@ -2,19 +2,23 @@ VAR noticed_surveillance = false
# scene: agora
# speaker: Void
# sprite: welcome@left
Ink is not alive by itself. A page gives it a body.
* [Let the page speak plainly.]
~ noticed_surveillance = true
# speaker: Aqua
# sprite: listen@right
Then the story should feel like it belongs here, not like a widget escaped from somewhere else.
-> gather
* [Ask for a little theatre.]
# speaker: Nibu
# sprite: sharp@right
A little theatre is allowed. It just has to serve the line instead of eating it.
-> gather
=== gather ===
# speaker: Void
# sprites: Void.idle@left, Aqua.idle@right
Good. The brush moves. The scene answers.
-> END

View file

@ -1 +1 @@
{"inkVersion":21,"root":[["#","^scene: agora","/#","#","^speaker: Void","/#","^Ink is not alive by itself. A page gives it a body.","\n","ev","str","^Let the page speak plainly.","/str","/ev",{"*":"0.c-0","flg":20},"ev","str","^Ask for a little theatre.","/str","/ev",{"*":"0.c-1","flg":20},{"c-0":["\n","ev",true,"/ev",{"VAR=":"noticed_surveillance","re":true},"#","^speaker: Aqua","/#","^Then the story should feel like it belongs here, not like a widget escaped from somewhere else.","\n",{"->":"gather"},{"->":"0.g-0"},{"#f":5}],"c-1":["\n","#","^speaker: Nibu","/#","^A little theatre is allowed. It just has to serve the line instead of eating it.","\n",{"->":"gather"},{"->":"0.g-0"},{"#f":5}],"g-0":["done",null]}],"done",{"gather":["#","^speaker: Void","/#","^Good. The brush moves. The scene answers.","\n","end",null],"global decl":["ev",false,{"VAR=":"noticed_surveillance"},"/ev","end",null]}],"listDefs":{}}
{"inkVersion":21,"root":[["#","^scene: agora","/#","#","^speaker: Void","/#","#","^sprite: welcome@left","/#","^Ink is not alive by itself. A page gives it a body.","\n","ev","str","^Let the page speak plainly.","/str","/ev",{"*":"0.c-0","flg":20},"ev","str","^Ask for a little theatre.","/str","/ev",{"*":"0.c-1","flg":20},{"c-0":["\n","ev",true,"/ev",{"VAR=":"noticed_surveillance","re":true},"#","^speaker: Aqua","/#","#","^sprite: listen@right","/#","^Then the story should feel like it belongs here, not like a widget escaped from somewhere else.","\n",{"->":"gather"},{"->":"0.g-0"},{"#f":5}],"c-1":["\n","#","^speaker: Nibu","/#","#","^sprite: sharp@right","/#","^A little theatre is allowed. It just has to serve the line instead of eating it.","\n",{"->":"gather"},{"->":"0.g-0"},{"#f":5}],"g-0":["done",null]}],"done",{"gather":["#","^speaker: Void","/#","#","^sprites: Void.idle@left, Aqua.idle@right","/#","^Good. The brush moves. The scene answers.","\n","end",null],"global decl":["ev",false,{"VAR=":"noticed_surveillance"},"/ev","end",null]}],"listDefs":{}}

View file

@ -10,15 +10,52 @@
"speakers": {
"Void": {
"name": "Void",
"avatar": "void.svg"
"avatar": "void.svg",
"default_sprite": "idle",
"sprites": {
"idle": {
"image": "void.svg",
"position": "left",
"scale": 1.1
},
"welcome": {
"image": "void.svg",
"position": "left",
"scale": 1.15
}
}
},
"Aqua": {
"name": "Aqua",
"avatar": "aqua.svg"
"avatar": "aqua.svg",
"default_sprite": "idle",
"sprites": {
"idle": {
"image": "aqua.svg",
"position": "right"
},
"listen": {
"image": "aqua.svg",
"position": "right",
"scale": 1.08
}
}
},
"Nibu": {
"name": "Nibu",
"avatar": "nibu.svg"
"avatar": "nibu.svg",
"default_sprite": "idle",
"sprites": {
"idle": {
"image": "nibu.svg",
"position": "right"
},
"sharp": {
"image": "nibu.svg",
"position": "right",
"scale": 1.08
}
}
}
}
}