Skip to content

Instantly share code, notes, and snippets.

@jcmiller11
Created November 22, 2024 13:59
Show Gist options
  • Save jcmiller11/fe0ac5f898601dffba704c8da44929dd to your computer and use it in GitHub Desktop.
Save jcmiller11/fe0ac5f898601dffba704c8da44929dd to your computer and use it in GitHub Desktop.
Dual Orb II Barrel Puzzle (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Dual Orb II Barrel Puzzle
author JC
homepage www.puzzlescript.net
========
OBJECTS
========
Background
lightgreen green
11111
01111
11101
11111
10111
Target
darkblue
.....
.000.
.0.0.
.000.
.....
Wall
brown darkbrown
00010
11111
01000
11111
00010
Player
black orange white blue
.000.
.111.
22222
.333.
.3.3.
Crate
orange
00000
0...0
0...0
0...0
00000
CrateUp
orange
00000
0...0
0...0
0...0
00000
CrateRight
orange
00000
0...0
0...0
0...0
00000
CrateDown
orange
00000
0...0
0...0
0...0
00000
CrateLeft
orange
00000
0...0
0...0
0...0
00000
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Crate
O = Target
MovingCrates = CrateUp or CrateRight or CrateDown or CrateLeft
Crates = Crate or MovingCrates
=======
SOUNDS
=======
Crates move 57583307
================
COLLISIONLAYERS
================
Background
Target
Player, Wall, Crates
======
RULES
======
[CrateUp ] -> [UP CrateUp ]
[CrateRight] -> [RIGHT CrateRight]
[CrateDown ] -> [DOWN CrateDown ]
[CrateLeft ] -> [LEFT CrateLeft ]
[ > Player | Crates ] -> [ > Player | > Crates ]
[UP Crates] -> [UP CrateUp ]
[RIGHT Crates] -> [RIGHT CrateRight]
[DOWN Crates] -> [DOWN CrateDown ]
[LEFT Crates] -> [LEFT CrateLeft ]
[> MovingCrates | Crates] -> [Crate | Crates]
[MovingCrates] -> [MovingCrates] again
==============
WINCONDITIONS
==============
all Target on Crates
=======
LEVELS
=======
##############
####..P....###
#............#
#..#.........#
#.....*.*....#
#............#
##....*.*...##
#...........##
#.....*.*#...#
#......#.....#
##.....#.....#
#......#....##
#...#.###....#
#.#..OOO.....#
#....OOO.....#
##############
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment