Created
January 6, 2024 12:28
-
-
Save jcmiller11/132f63aea7f2933b1361ea24af96aa79 to your computer and use it in GitHub Desktop.
Ice Example (PuzzleScript Script)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
title Ice Example | |
author jcGyo | |
homepage www.puzzlescript.net | |
======== | |
OBJECTS | |
======== | |
Background | |
LIGHTGREEN GREEN | |
11111 | |
01111 | |
11101 | |
11111 | |
10111 | |
Ice | |
Blue lightblue | |
11111 | |
11101 | |
10101 | |
10111 | |
11111 | |
Wall | |
BROWN DARKBROWN | |
00010 | |
11111 | |
01000 | |
11111 | |
00010 | |
PlayerU | |
darkgreen orange Brown White | |
.222. | |
12221 | |
10001 | |
.000. | |
.2.2. | |
PlayerD | |
darkgreen orange Brown White | |
.222. | |
13131 | |
10001 | |
.000. | |
.2.2. | |
PlayerL | |
darkgreen orange Brown White | |
.222. | |
.312. | |
.010. | |
.000. | |
..22. | |
PlayerR | |
darkgreen orange Brown White | |
.222. | |
.213. | |
.010. | |
.000. | |
.22.. | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = Wall | |
P = PlayerD | |
I = ice | |
Player = PlayerU or PlayerD or PlayerL or PlayerR | |
======= | |
SOUNDS | |
======= | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Ice | |
Player, Wall | |
====== | |
RULES | |
====== | |
(Change player sprite direction) | |
[UP Player] -> [UP PlayerU] | |
[DOWN Player] -> [DOWN PlayerD] | |
[LEFT Player] -> [LEFT PlayerL] | |
[RIGHT Player] -> [RIGHT PlayerR] | |
[> Player|Ice] -> [> Player|Ice] again | |
[PlayerU Ice] -> [UP PlayerU Ice] again | |
[PlayerD Ice] -> [DOWN PlayerD Ice] again | |
[PlayerL Ice] -> [LEFT PlayerL Ice] again | |
[PlayerR Ice] -> [RIGHT PlayerR Ice] again | |
============== | |
WINCONDITIONS | |
============== | |
======= | |
LEVELS | |
======= | |
######### | |
#IIII...# | |
#IIII...# | |
#..III..# | |
#I....II# | |
#I.I..P.# | |
######### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment