-
Notifications
You must be signed in to change notification settings - Fork 1
/
vnds2-support.txt
186 lines (149 loc) · 4.42 KB
/
vnds2-support.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
spec: https://github.com/VaYurik/vnds-online/blob/master/commands_list.txt
[variables]
commands:
"setvar" - supported
"var" - supported
"gsetvar" - supported
"gvar" - supported
operators:
"~" (set to 0) - not supported
"=" - supported
"+" - supported
"-" - supported
"." (string concat) - not supported
"*" - not supported
"/" - not supported
[random]
commands:
"random" - supported
"rand" - supported
notes:
one value variant is supported.
[background images]
info:
in vnds2, this is much more complex.
form is:
bg [filename or color code] [X-alignment] [Y-alignment] [effect] [duration]
commands:
"bgload" - supported, normal vnds only.
this will clear the entire screen.
"bg" - not supported
this will NOT clear the entire screen.
[background color]
info:
accepts color hex code, of lengths 3 or 6.
commands:
"bgcolor" - not supported
"bgc" - not supported
[sprites]
info:
sprites in vnds2 work EXTREMELY differently then in normal vnds.
it will require remaking the way sprites are drawn, so it is not supported as of now.
form is:
img [id] [filename] [x-coordinate] [y-coordinate] [filter] [filter strength] [effect] [duration]
img [id] [filename] [x-coordinate] [y-coordinate] [duration]
(removing)
img [id/filename] ~ [duration]
img * ~ [duration] or img ~ [duration]
commands:
"setimg" - supported, normal vnds only.
"img" - not supported
"sprite" - not supported.
[effects]
info:
not supported.
form is:
effect [id/filename/*] [effect] [strength] [duration]
effect [id/filename/*] ~
effect ~
commands:
"effect" - not supported
"eff" - not supported
[continous animation]
info:
it plays a continuous animation.
form is:
relay [filename 1] [filename 2] [filename N] [delay] [effect] [duration]
relay ~
commands:
"relay" - not supported
"rel" - not supported
[animation]
info:
the spec is kind of unclear about what exactly this is.
it seems to play a specific continous animation defined by the engine.
for now, the spec only defines one animation, which is "snow"
form is:
animation [animation] [strength]
animation ~
commands:
"animation" - not supported
"anim" - not supported
[text - clear]
info:
it clears the textbox.
interestingly, vnds2 seems to NOT support the "!" parameter of this command.
putting "!" as a paramter here will also clear the text buffer (e.g. text history).
commands:
"cleartext" - not supported
"clt" - not supported
[text - display]
info:
it displays text.
there are things you can specify before the text.
"~" - creates a blank line without stopping, kind of like a line break.
supported.
"@" - prints text without stopping, kind of line a line break.
supported.
"@@" - prints text without stopping, but without putting a line break.
not supported.
"!" - creates a blank line, and then stops.
supported.
"+" - adds text to already printed text, after putting a line break.
not supported.
"++" - adds text to already printed text, without putting a line break.
not supported.
html tags are not supported.
there is also a way to specify a name.
text [Tsumugi] (Hehehe, yet another failure to add to my memories.)
it will show up kind of like...
+-[ Tsumugi ]---------------+
| Hehehe, yet another |
| failure to add to my |
| memories. |
+---------------------------+
this is not supported.
there is also a shortcut for display text.
these shortcuts are not supported.
putting
"hello!"
is the same as
text hello!
and displayed as
+---------------------------+
| Hello! |
| |
| |
+---------------------------+
putting
["Take a look!"
is the same as
text "Take a look!"
and displayed as
+---------------------------+
| "Take a look!" |
| |
| |
+---------------------------+
commands:
"text" - supported, as stated above
"mes" - not supported
"msg" - not supported
[videos]
info:
it displays video.
form is:
vid [filename] [effect] [duration]
commands:
"video" - supported
( i gave up at this point )