Skip to content

Instantly share code, notes, and snippets.

@sftrabbit
Created December 19, 2024 09:26
Show Gist options
  • Save sftrabbit/ad3ce4fb4d5dd70db7f69b7c1c5f9e77 to your computer and use it in GitHub Desktop.
Save sftrabbit/ad3ce4fb4d5dd70db7f69b7c1c5f9e77 to your computer and use it in GitHub Desktop.
Fences (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Fences
========
OBJECTS
========
Background
white black
10001
00000
00000
00000
10001
Fence_Up
black
00000
.....
.....
.....
.....
Fence_Right
black
....0
....0
....0
....0
....0
Fence_Down
black
.....
.....
.....
.....
00000
Fence_Left
black
0....
0....
0....
0....
0....
Player
orange
.....
.000.
.000.
.000.
.....
Goal
gray
.....
.000.
.000.
.000.
.....
=======
LEGEND
=======
. = Background
P = Player
╞ = Fence_Up and Fence_Down and Fence_Left
═ = Fence_Up and Fence_Down
╦ = Fence_Up
╗ = Fence_Up and Fence_Right
╣ = Fence_Right
╨ = Fence_Left and Fence_Down and Fence_Right
╹ = Fence_Left and Fence_Down and Fence_Right and Player
╔ = Fence_Left and Fence_Up
╝ = Fence_Right and Fence_Down
╻ = Fence_Up and Fence_Left and Fence_Right and Goal
╚ = Fence_Left and Fence_Down
Fence = Fence_Up or Fence_Right or Fence_Down or Fence_Left
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Fence_Up
Fence_Right
Fence_Down
Fence_Left
Goal
Player
======
RULES
======
[ UP Player Fence_Up ] -> [ Player Fence_Up ]
[ RIGHT Player Fence_Right ] -> [ Player Fence_Right ]
[ DOWN Player Fence_Down ] -> [ Player Fence_Down ]
[ LEFT Player Fence_Left ] -> [ Player Fence_Left ]
==============
WINCONDITIONS
==============
All Goal on Player
=======
LEVELS
=======
╞═╦╗
╞╦╣╹
╔╝╨╻
╚══╝
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment