Skip to content

Instantly share code, notes, and snippets.

@hennustaja
Created September 16, 2020 08:50
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 hennustaja/6861d59983d99b3c99410dd24692318b to your computer and use it in GitHub Desktop.
Save hennustaja/6861d59983d99b3c99410dd24692318b to your computer and use it in GitHub Desktop.
Kalastuspeli (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Kalastuspeli
author Kalastuspelitiimi
homepage www.puzzlescript.net
========
OBJECTS
========
Background
LIGHTGREEN GREEN
11111
01111
11101
11111
10111
Target
DarkBlue
.....
.000.
.0.0.
.000.
.....
Player
Lightblue black yellow
.....
..2..
..2..
2.2.2
.222.
Wall
BROWN DARKBROWN
00010
11111
01000
11111
00010
Crate
Orange Yellow
00000
0...0
0...0
0...0
00000
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
@ = Crate and Target
O = Target
=======
SOUNDS
=======
Crate MOVE 36772507
================
COLLISIONLAYERS
================
Background
Target
Player
Wall, Crate
======
RULES
======
horizontal [Stationary Crate ] -> [ randomDir Crate]
[ > Player | Crate ] -> [ > Player | ]
==============
WINCONDITIONS
==============
=======
LEVELS
=======
#..........................#
#..........................#
#..........................#
#..........................#
#..........................#
############################
#....*.....................#
############################
#................*.........#
############################
############################
#....................*.....#
############################
#..........................#
#..........................#
#..........................#
#..........................#
#..........................#
#............P.............#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment