Skip to content

Instantly share code, notes, and snippets.

@pranavraja
Created November 16, 2018 23:43
Show Gist options
  • Save pranavraja/e6d139ce362f2945383c7ca94d0e7bcc to your computer and use it in GitHub Desktop.
Save pranavraja/e6d139ce362f2945383c7ca94d0e7bcc to your computer and use it in GitHub Desktop.
Trials and tribulations (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Trials and tribulations
author P Money
homepage www.puzzlescript.net
realtime_interval 0.5
require_player_movement
========
OBJECTS
========
Background
lightbrown
Water
blue
Wall
BROWN
Tree
green darkbrown
.000.
00000
.000.
..1..
..1..
Turtle
brown lightgreen
.1.1.
.000.
.0001
.000.
.1.1.
Player
PINK YELLOW BLACK
.22..
.00..
2222.
.22..
.2.2.
Target
black
.....
.0.0.
..0..
.0.0.
.....
LeftDog
brown
.....
.0...
.00..
00000
.0..0
RightDog
brown
.....
...0.
..00.
00000
0..0.
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Tree
T = Turtle
O = Target
X = Water
D = RightDog
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Water
Target, Turtle
Player, Wall, Tree, LeftDog, RightDog
======
RULES
======
(the player can rise the turtle)
[ > Player Turtle | Water ] -> [ | Turtle Player Water ]
[ > Player | Water ] -> [ Player | Water ]
(the dog wanders around)
[ stationary LeftDog ] -> [ left LeftDog ]
[ stationary RightDog ] -> [ right RightDog ]
right [ Tree |< LeftDog ] -> [ Tree | > RightDog ]
right [ > RightDog | Wall ] -> [ < LeftDog | Wall ]
==============
WINCONDITIONS
==============
All Player on Target
=======
LEVELS
=======
############
#.**.D.....#
#....XXXX..#
#.P.XXXXX.O#
#...TXXXXX.#
#..XXXXXXX.#
############
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment