-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathflickscript_help.html
More file actions
139 lines (122 loc) · 4.47 KB
/
flickscript_help.html
File metadata and controls
139 lines (122 loc) · 4.47 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FlickScript Help</title>
<link rel="icon" type="image/png" href="favicon.png">
<link rel="stylesheet" href="help.css">
</head>
<body>
<h1>FlickScript: What Is It?</h1>
<p>
<a href="flickscript.html">FlickScript</a> is one of many FlickGame variants. It's more complex than the original FlickGame,
offering scripting capabilities for more advanced interactions.
<a href="https://www.flickgame.org/layers_beta.html?p=53ffe394276de8c4b0536f0f3397639a">Try this sample project →</a>
</p>
<h2>Basic Usage</h2>
<p>
<img src="flickscript_shot1.png" alt="FlickScript interface">
</p>
<p>
Left click on the canvas to draw. Right click, or Ctrl/Cmd/Shift+Click to erase.
</p>
<h2>Scripting Reference</h2>
<div class="code-block">
<code>show 3 4 5</code>
<p>Shows layers 3, 4 and 5.</p>
</div>
<div class="code-block">
<code>show +3</code>
<p>Shows the layer 3 layers ahead of the current layer. (Also enables them, if they were previously disabled).</p>
</div>
<div class="code-block">
<code>hide -3</code>
<p>Hides the layer 3 layers behind the current layer.</p>
</div>
<div class="code-block">
<code>hide 3 4 5</code>
<p>Hides layers 3, 4 and 5.</p>
</div>
<div class="code-block">
<code>hide this</code>
<p>Hides the current layer.</p>
</div>
<div class="code-block">
<code>disable 3 4</code>
<p>Disables layer 3 and 4 (if they were visible before, they will still be, but you won't be able to interact with them anymore).</p>
</div>
<div class="code-block">
<code>enable 3 4</code>
<p>Enables layer 3 and 4. Doesn't set things to visible if they weren't visible already).</p>
</div>
<div class="code-block">
<pre>if 1, 2, not 3 then
hide 1 2
show 4
else
show 1 2
hide 3
end</pre>
<p>If layers 1 and 2 are visible, but 3 isn't, then hide the first two layers and show the fourth, otherwise show layers 1 and 2, and hide layer 3.</p>
</div>
<h3>Initialization</h3>
<p>
At the start of each game, only layer 1 is visible. However, layer 1 is <em>special</em> - its script gets activated
automatically when the game starts, so you can set other layers to be visible/invisible there.
</p>
<h2>Keyboard Shortcuts</h2>
<dl class="shortcut-list">
<div class="shortcut-item">
<dt><b>C</b></dt>
<dd>Copy page</dd>
</div>
<div class="shortcut-item">
<dt><b>X</b></dt>
<dd>Cut page (delete page and scripts on it, but save it to the clipboard so you can paste it later)</dd>
</div>
<div class="shortcut-item">
<dt><b>V</b></dt>
<dd>Paste copied/cut page to the currently selected page</dd>
</div>
<div class="shortcut-item">
<dt><b>Z</b></dt>
<dd>Undo</dd>
</div>
<div class="shortcut-item">
<dt><b>+</b></dt>
<dd>Increase brush size if one is selected</dd>
</div>
<div class="shortcut-item">
<dt><b>-</b></dt>
<dd>Decrease brush size if one is selected</dd>
</div>
</dl>
<h2>Feedback & Support</h2>
<p>
Drop me a line at <a href="mailto:analytic@gmail.com">analytic@gmail.com</a>, tweet to <a href="http://www.x.com/increpare">@increpare</a>, or post a <a href="https://github.com/increpare/flickgame/issues/new">bug report on GitHub</a>.
</p>
<h2>Source Code</h2>
<p>
<a href="https://github.com/increpare/flickgame">View on GitHub</a>
</p>
<div class="flickgame-family">
<h2>The FlickGame Family</h2>
<ul>
<li><a href="index.html">FlickGame</a> - the original!</li>
<li><a href="index2.html">FlickGame Jr</a> - 3-colored branching FlickGames</li>
<li><a href="flickuboy.html">FlickUBoy</a> - 2-color FlickGames with text, exportable to <a href="https://www.arduboy.com/">Arduboy</a></li>
<li><a href="flickscript.html">FlickScript</a> - FlickGame with scripting capabilities</li>
<li><a href="index_big.html">FlickGame Big</a> - FlickGame with lots of pages!</li>
</ul>
</div>
<footer class="credits">
<p>
Made by <a href="http://www.increpare.com">increpare</a> | Support my work on
<a href="https://www.patreon.com/increpare">Patreon</a> |
<a href="https://github.com/sponsors/increpare">GitHub Sponsors</a> |
<a href="https://www.paypal.com/paypalme/increparegames">PayPal</a>
</p>
</footer>
</body>
</html>