Skip to content

Instantly share code, notes, and snippets.

@increpare
Created March 21, 2021 20:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save increpare/d5fb6aa69d4f00c1fb2e15307a96cefa to your computer and use it in GitHub Desktop.
Save increpare/d5fb6aa69d4f00c1fb2e15307a96cefa to your computer and use it in GitHub Desktop.
Kurrywürste (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Kurrywürste
author increpare
homepage www.increpare.com
run_rules_on_level_start
color_palette 6
========
OBJECTS
========
Background
lightgray
void #
lightgreen
Player
Black yellow white brown
.000.
.111.
23232
13331
.3.3.
Sauce_tl q
darkred
..00.
.0000
00000
00000
.0000
Sauce_tr w
darkred
0000.
00000
0000.
00000
00000
Sauce_br e
darkred
00000
00000
0000.
0000.
.00..
Sauce_bl r
darkred
.0000
.0000
00000
00000
...00
wurst_tl_o 1
orange lightbrown
..000
.0111
01111
01111
01111
wurst_tr_o 2
orange lightbrown
000..
1110.
11110
11110
11110
wurst_br_o 3
orange lightbrown
11110
11110
11110
1110.
000..
wurst_bl_o 4
orange lightbrown
01111
01111
01111
.0111
..000
wurst_tl_m a
orange lightbrown red
..020
.2222
02212
22111
02211
wurst_tr_m s
orange lightbrown red
020..
2212.
12222
11212
11220
wurst_br_m d
orange lightbrown red
11210
12222
22212
2120.
022..
wurst_bl_m f
orange lightbrown red
02111
02211
22221
.2122
..020
=======
LEGEND
=======
. = Background
P = Player
sauce = Sauce_tl or Sauce_tr or Sauce_br or Sauce_bl
wurst_tl = wurst_tl_o or wurst_tl_m
wurst_tr = wurst_tr_o or wurst_tr_m
wurst_bl = wurst_bl_o or wurst_bl_m
wurst_br = wurst_br_o or wurst_br_m
wurst = wurst_tl or wurst_tr or wurst_br or wurst_bl
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
void
Sauce
Player, wurst
======
RULES
======
[ > player | void ] -> cancel
[ > Player | wurst ] -> [ > Player | > wurst ]
[ > wurst | wurst ] -> [ > wurst | > wurst ]
+ right [ moving wurst_tl | wurst_tr ] -> [ moving wurst_tl | moving wurst_tr ]
+ right [ wurst_tl | moving wurst_tr ] -> [ moving wurst_tl | moving wurst_tr ]
+ right [ moving wurst_bl | wurst_br ] -> [ moving wurst_bl | moving wurst_br ]
+ right [ wurst_bl | moving wurst_br ] -> [ moving wurst_bl | moving wurst_br ]
+ down [ moving wurst_tl | wurst_bl ] -> [ moving wurst_tl | moving wurst_bl ]
+ down [ wurst_tl | moving wurst_bl ] -> [ moving wurst_tl | moving wurst_bl ]
+ down [ moving wurst_tr | wurst_br ] -> [ moving wurst_tr | moving wurst_br ]
+ down [ wurst_tr | moving wurst_br ] -> [ moving wurst_tr | moving wurst_br ]
==============
WINCONDITIONS
==============
=======
LEVELS
=======
############
############
##qw##....##
##re##.12.##
##.....43.##
##.p12....##
##..43....##
##........##
##....12..##
##....43..##
##........##
############
############
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment