Created
January 20, 2023 14:33
-
-
Save pancelor/db0670ed3fbab88441f0d18d37dd4947 to your computer and use it in GitHub Desktop.
wall bevel code demo (PuzzleScript Script)
This file contains hidden or 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 hidden or 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 wall bevel code demo | |
author pancelor | |
homepage pancelor.com | |
run_rules_on_level_start | |
======== | |
objects | |
======== | |
background | |
lightgreen green | |
11111 | |
01111 | |
11101 | |
11111 | |
10111 | |
target | |
darkblue | |
..... | |
.000. | |
.0.0. | |
.000. | |
..... | |
wall | |
brown darkbrown | |
.001. | |
11111 | |
01000 | |
11111 | |
.001. | |
player | |
black orange white blue | |
.000. | |
.111. | |
22222 | |
.333. | |
.3.3. | |
crate | |
orange | |
00000 | |
0...0 | |
0...0 | |
0...0 | |
00000 | |
bevelu | |
brown | |
0...0 | |
..... | |
..... | |
..... | |
..... | |
beveld | |
brown | |
..... | |
..... | |
..... | |
..... | |
0...0 | |
bevell | |
brown | |
0.... | |
..... | |
..... | |
..... | |
0.... | |
bevelr | |
brown | |
....0 | |
..... | |
..... | |
..... | |
....0 | |
======= | |
legend | |
======= | |
. = background | |
# = wall | |
p = player | |
* = crate | |
@ = crate and target | |
o = target | |
======= | |
sounds | |
======= | |
================ | |
collisionlayers | |
================ | |
background | |
target | |
player, wall, crate | |
bevelu | |
beveld | |
bevell | |
bevelr | |
====== | |
rules | |
====== | |
right [wall | wall] -> [wall bevelr | wall bevell] | |
up [wall | wall] -> [wall bevelu | wall beveld] | |
(note: doesn't connect touching corners) | |
[ > player | crate ] -> [ > player | > crate ] | |
============== | |
winconditions | |
============== | |
all target on crate | |
======= | |
levels | |
======= | |
................. | |
.#.#.##.#........ | |
...#....#.###.o.. | |
........#........ | |
.#...#.*...##.##. | |
.##.##..##..#.##. | |
........#........ | |
..#..###..p..#.#. | |
.##..#.#...#..##. | |
.##..###..#..#.#. | |
................. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment