Skip to content

Instantly share code, notes, and snippets.

@WiseHonse
Created April 23, 2025 12:31
Show Gist options
  • Save WiseHonse/d3161ae17c4618226a3bdebcfe4f1aea to your computer and use it in GitHub Desktop.
Save WiseHonse/d3161ae17c4618226a3bdebcfe4f1aea to your computer and use it in GitHub Desktop.
My Game (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title My Game
author My Name Here
homepage www.puzzlescript.net
========
OBJECTS
========
Background
gray
Target
darkblue darkred
00000
01010
00100
01010
00000
Wall
#505050 #808080
00100
11111
01010
11111
00100
Player
blue black
.000.
00100
00000
00000
0.0.0
Crate
green lightgreen
00000
00100
01110
00100
00000
Teleport1
purple #800080
00000
01110
01110
01110
00000
Teleport2
red lightred
00000
01110
01110
01110
00000
Coin
#FFD700 #FFFFE0
.000.
00100
00100
00100
.000.
Trap
darkgreen
.0.0.
0.0.0
.0.0.
0.0.0
.0.0.
=======
LEGEND
=======
. = Background
# = Wall
P = Player
T = Teleport1
E = Teleport2
* = Crate
O = Target
C = Coin
@ = Trap
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Target, Trap, Teleport1, Teleport2,
Player, Wall, Crate, Coin,
======
RULES
======
[ > Player | Crate ] -> [ > Player | > Crate ]
[ < Player | Crate ] -> [ < Player | < Crate ]
[ > Player | Coin ] -> [ > Player | > Coin ]
[ < Player | Coin ] -> [ < Player | < Coin ]
==============
WINCONDITIONS
==============
all Target on Crate
=======
LEVELS
=======
######################################
###############.................#..#o#
#...#...@@@...#.#######.#....####..#.#
#.#.#.#######.#.#######.#.#@##.......#
#.#........##...........#.#.#..####..#
#.#.#####c.##...#...#...#.#c......#..#
#..........##...#...#.............#..#
########...##.###.#.#.....#######.#..#
#........#....#.#.#.#...#.........#..#
#####.######..#.#.###...#....#.####..#
#.....#....#..#.#.#...######.#.#.....#
#.###.#.##.#........#........#.#.....#
#.#...#.##.#.######.##########.#...#.#
#p..#......#........#..............#.#
#.#.#.#########.#@###.#....#...#.###.#
#.#.#...........#.###.########.#..#..#
#.#...#########.#...#.#........#..#..#
######################################
######################################
#...p#..................o#...........#
#....#.......#####.#.....#......###..#
#.##########.......#.#####.###########
#............#######.............##.c#
#.........#......................##..#
#.######..#.#####..#.####..######....#
#...#.....#........#....##...###....##
#...#..####...####.#..#..###..#..##.##
#................#.#..#..............#
#######..#####...#.#..#...###........#
#..t.......#...#.#....#.#...#.####...#
#..t..#.######.#.#...##.#.#.#.#......#
#.#t#.#........#...####...#.#.#.####.#
#.#t#.########.#........#.#..........#
#..t..######c..#...######.#.###..#.###
#.ct..........##...#......#......#..e#
######################################
######################################
#p.........@......#.c#.............#e#
##########.########....##........#...#
##.#.#...........#...#..#........#.###
##.#.#.########.....##..#.######.#...#
##.#..........#..#......#........#####
##.#.#######..#..#......#..........@.#
##............#..#.###c.#..######.####
##...............#...####..######....#
#########.#......#...#...............#
#.........#..######..###..#######.#..#
#########.#..........#.#........#.#..#
#.........#######...##.#..##@##.#.#..#
#..#####.............@.#...#.##.#.#.o#
#........#.........#######........####
#.#...##.#########...@@@...#####.##@##
#.#ct............t.................c##
######################################
######################################
#.............#......................#
#...#tt..######.###.........########.#
#.#.#c#.......#c..#.######.......e##.#
#.#.#.#...#...##..#...#...........##.#
#.#.#.#...#...#.....#...#######...##.#
#.#.#.#...#.........#.#.......#...##.#
#.#.#.#...#.....############..######.#
#.#.#.#.######................#......#
#.#.#.#............#####......######.#
#.#.#.#.............#c.#..#####...##.#
#.#.#.##.########...#..#..........##.#
#.#.#..#...............#..####....##.#
#.#.##.####.#......#...#..........##.#
#.#....#....#......#.#.#..#######c##.#
#.##.#.#.##.########.#....#p....####.#
#o...t...c#.#........#...######......#
######################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment