forked from increpare/PuzzleScript
-
Notifications
You must be signed in to change notification settings - Fork 1
/
editor.html
211 lines (181 loc) · 7.81 KB
/
editor.html
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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" >
<title>PuzzleScript</title>
<link rel="stylesheet" href="css/docs.css">
<link rel="stylesheet" href="css/codemirror.css">
<link rel="stylesheet" href="css/midnight.css">
<link rel="stylesheet" href="css/dialog.css">
<link rel="stylesheet" href="css/console.css">
<link rel="stylesheet" href="css/gamecanvas.css">
<link rel="stylesheet" href="css/soundbar.css">
<link rel="stylesheet" href="css/layout.css">
<link rel="stylesheet" href="css/toolbar.css">
<link rel="stylesheet" href="css/show-hint.css">
<!--CSSREPLACE-->
<link rel="shortcut icon" type="image/x-icon" href="Documentation/ico/favicon.ico" />
</head>
<body>
<div id="leftpanel">
<form id="form1" name="form1" action="javascript:void(0);"><textarea id="code" class="codeform" name="code" rows="20" cols="20" style="display:none;">
title My Game
author Anonymous
homepage www.puzzlescript.net
========
OBJECTS
========
Background
GREEN
Target
DarkBlue
Wall
BROWN
Player
Blue
Crate
Orange
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
@ = Crate and Target
O = Target
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Target
Player, Wall, Crate
======
RULES
======
[ > Player | Crate ] -> [ > Player | > Crate ]
==============
WINCONDITIONS
==============
All Target on Crate
=======
LEVELS
=======
#########
#.......#
#.....@.#
#.P.*.O.#
#.......#
#.......#
#########
</textarea></form>
</div>
<div id="verticaldragbar"></div>
<div id="uppertoolbar">
<a href="index.html"><h2>PuzzleScript</h2></a> - <a id="saveClickLink" href="javascript:void(0);">SAVE</a> -
<form action="" style="display:inline;"><select id="loadDropDown" name="default" style="display:inline; width:100px"> -
</select></form> - <form action="" style="display:inline;"> <select id="exampleDropdown" name="default" style="display:inline; width:150px">
<option value="sokoban_basic">Load Example</option>
<optgroup label="Tutorial">
<option value="sokoban_basic">Basic</option>
<option value="sokoban_eyeball">Eyeball</option>
<option value="sokoban_match3">Match 3</option>
<option value="randomrobots">Random Robots</option>
<option value="randomspawner">Random Robot Spawner</option>
</optgroup>
<optgroup label="Elementary">
<option value="blockfaker">Block Faker (Droqen)</option>
<option value="byyourside">By Your Side (Draknek)</option>
<option value="kettle">Kettle (increpare)</option>
<option value="microban">Microban (D. Skinner)</option>
<option value="nekopuzzle">Neko Puzzle (Lexaloffle)</option>
<option value="notsnake">Notsnake (Terry Cavanagh)</option>
<option value="zenpuzzlegarden">Zen Puzzle Garden (Lexaloffle)</option>
</optgroup>
<optgroup label="Intermediate">
<option value="limerick">Lime Rick (kissmaj7)</option>
<option value="octat">Octat (increpare)</option>
<option value="constellationz">Constellation Z (increpare)</option>
</optgroup>
<optgroup label="Advanced">
<option value="midas">Midas (Wanderlands)</option>
<option value="whaleworld">2D Whale World (increpare)</option>
<option value="blank">Blank Project</option>
</optgroup>
</select>
</form>- <a id="runClickLink" href="javascript:void('Run the Game');">RUN</a> - <a id="rebuildClickLink" href="javascript:void('Rebuild without restarting');">REBUILD</a> - <a id="levelEditorClickLink" href="javascript:void('Open Level Editor');">LEVEL EDITOR</a> - <a id="exportClickLink" href="javascript:void('Export Standalone HTML Build');">EXPORT</a> - <a id="shareClickLink" href="javascript:void('Generate Link To Game');">SHARE</a> - <a href="Documentation/documentation.html" target="Puzzle_Script_Documentation">DOCS</a> - <a href="https://groups.google.com/forum/#!forum/puzzlescript">FORUM</a>
</div>
<div id="righttophalf">
<div class="upperarea">
<canvas id="gameCanvas" ></canvas>
</div>
</div>
<div id="horizontaldragbar"></div>
<div id="rightbottomhalf">
<div class="lowertoolbar">
<div id="soundbar">
<span class="soundbutton"><a id="clearConsoleClick" title="clears the console" href="javascript:void('Clear Console');"><img src="images/clearConsole.gif" alt="clear console contents"></a></span>
<span class="soundbutton"><a id="newsound0" title="collect item sound" href="javascript:void('Generate Collect Item Sound');"><img src="images/audio1.gif" alt="collect item sound"></a></span>
<span class="soundbutton"><a id="newsound7" title="push sounds" href="javascript:void('Generate Push Sound');" ><img src="images/audio2.gif" alt="push sounds"></a></span>
<span class="soundbutton"><a id="newsound2" title="explosion sound" href="javascript:void('Generate Explosion Sound');" ><img src="images/audio3.gif" alt="explosion sound"></a></span>
<span class="soundbutton"><a id="newsound3" title="powerup sound" href="javascript:void('Generate Power-Up Sound');" ><img src="images/audio4.gif" alt="powerup sound"></a></span>
<span class="soundbutton"><a id="newsound9" title="bird tweet sound" href="javascript:void('Generate Bird Tweet Sound');"><img src="images/audio5.gif" alt="bird tweet sound"></a></span>
<span class="soundbutton"><a id="newsound4" title="hurt sound" href="javascript:void('Generate Hurt Sound');" ><img src="images/audio6.gif" alt="hurt sound"></a></span>
<span class="soundbutton"><a id="newsound5" title="jump sound" href="javascript:void('Generate Jump Sound');"><img src="images/audio7.gif" alt="jump sound"></a></span>
<span class="soundbutton"><a id="newsound1" title="pew pew sound" href="javascript:void('Generate Pew Pew Sound');"><img src="images/audio8.gif" alt="pew pew pew"></a></span>
<span class="soundbutton"><a id="newsound6" title="selection sound" href="javascript:void('Generate Selection Sound');"><img src="images/audio9.gif" alt="selection sound"></a></span>
<span class="soundbutton"><a id="newsound8" title="random sound" href="javascript:void('Generate Random Sound');"><img src="images/audio10.gif" alt="random sound"></a></span>
</div></div>
<div class="lowerarea" id="lowerarea">
<div id = "consoletextarea" >
=================================<br>
PuzzleScript Log V1.6.0<br>
=================================<br>
</div>
</div>
</div>
<!--TOREPLACE-->
<script src="js/Blob.js"></script>
<script src="js/FileSaver.js"></script>
<script src="js/jsgif/b64.js"></script>
<script src="js/jsgif/LZWEncoder.js"></script>
<script src="js/jsgif/NeuQuant.js"></script>
<script src="js/jsgif/GIFEncoder.js"></script>
<script src="js/debug.js"></script>
<script src="js/globalVariables.js"></script>
<script src="js/font.js"></script>
<script src="js/rng.js"></script>
<script src="js/riffwave.js"></script>
<script src="js/sfxr.js"></script>
<script src="js/codemirror/codemirror.js"></script>
<script src="js/codemirror/active-line.js"></script>
<script src="js/codemirror/dialog.js"></script>
<script src="js/codemirror/search.js"></script>
<script src="js/codemirror/searchcursor.js"></script>
<script src="js/codemirror/match-highlighter.js"></script>
<script src="js/codemirror/show-hint.js"></script>
<script src="js/codemirror/anyword-hint.js"></script>
<script src="js/colors.js"></script>
<script src="js/graphics.js"></script>
<script src="js/inputoutput.js"></script>
<script src="js/mobile.js"></script>
<script src="js/console.js"></script>
<script src="js/buildStandalone.js"></script>
<script src="js/engine.js"></script>
<script src="js/parser.js"></script>
<script src="js/editor.js"></script>
<script src="js/compiler.js"></script>
<script src="js/soundbar.js"></script>
<script src="js/toolbar.js"></script>
<script src="js/layout.js"></script>
<script src="js/addlisteners.js"></script>
<script src="js/addlisteners_editor.js"></script>
<script src="js/makegif.js"></script>
<!--ENDREPLACE-->
<!--<script src="js/scripts.js"></script>-->
</body>
</html>