Created
July 26, 2021 03:13
-
-
Save bowlercaptain/4a0fe8c1c41d30fe8a9ce9671842d4b9 to your computer and use it in GitHub Desktop.
chains (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 chains | |
author bowlercaptain | |
homepage bowlercapta.in | |
color_palette c64 | |
require_player_movement | |
======== | |
OBJECTS | |
======== | |
Background | |
black | |
Player | |
lightblue | |
allbot | |
gray lightblue darkgray | |
01010 | |
11111 | |
01010 | |
.0.0. | |
22.22 | |
vbot | |
gray | |
hbot | |
gray | |
Wall | |
black darkgray gray | |
11111 | |
10201 | |
11111 | |
10201 | |
11111 | |
chain | |
grey white | |
.000. | |
0...0 | |
0...0 | |
0...0 | |
.000. | |
box | |
orange | |
00000 | |
0...0 | |
0...0 | |
0...0 | |
00000 | |
target | |
black white | |
..... | |
.1.1. | |
..1.. | |
.1.1. | |
..... | |
pull | |
pink | |
chainpulled | |
black | |
boxpulled | |
black | |
newtrail | |
pink | |
traila | |
darkbrown | |
trailb | |
darkgreen | |
======= | |
LEGEND | |
======= | |
. = Background | |
P = Player | |
W = Wall | |
B = box | |
x = target | |
c = chain | |
robot = allbot or hbot or vbot | |
pusher = Player or box or robot | |
blocker = wall | |
trail = traila or trailb or newtrail | |
======= | |
SOUNDS | |
======= | |
startgame 50287705 | |
sfx0 660507 | |
sfx1 41058704 | |
endgame 74955903 | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
trail | |
chain pull chainpulled boxpulled | |
target | |
box | |
player robot wall | |
====== | |
RULES | |
====== | |
( start moving ) | |
[ > Player | Wall ] -> [ Player | Wall ] | |
[ > pusher | box ] -> [ > pusher | > box ] | |
( stop moving ) | |
[ > box | no blocker ] -> [ pull | boxpulled ] | |
[ pull | chain ] -> [ chainpulled | pull ] | |
[ pull | box ] -> [box | ] | |
[ chainpulled ] -> [chain] | |
[boxpulled]->[box] | |
[pull]->[] | |
[> Player|box]->[Player|box] | |
[ > player | no blocker ] -> [ newtrail | player ] | |
[traila | newtrail ] -> [traila | trailb] | |
[trailb | newtrail ] -> [trailb | traila] | |
[newtrail] -> [traila] | |
============== | |
WINCONDITIONS | |
============== | |
all target on box | |
======= | |
LEVELS | |
======= | |
MESSAGE you know how to sokoban, yeah? | |
wwwwwwwww | |
w.......w | |
w.b.P.x.w | |
w.......w | |
wwwwwwwWW | |
MESSAGE yeah you do. | |
wwwwwwwww | |
w.......w | |
w.p.x.x.w | |
w.bcccb.w | |
w.......w | |
wwwwwwwww | |
MESSAGE some games are art, some are poems, some are research summary presentations | |
wwwwwwwww | |
wp...bc.w | |
w.....cbw | |
wx..x...w | |
wwwwwwwww | |
Message sometimes you take your mechanics to level generation to iron out bugs | |
message but sometimes you don't | |
..www.. | |
.w.p.w. | |
.w...w. | |
..w.w.. | |
www.www | |
wxbcbxw | |
www.www | |
bcw.w.. | |
ccc.... | |
ccb.... | |
..www.. | |
wwwwwwwww | |
wxpxw.b.w | |
w...w.c.w | |
w.b...c.w | |
w.....b.w | |
wwwwwwwww |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment