Skip to content

Instantly share code, notes, and snippets.

@ylmassemir
Created May 1, 2025 11:13
Show Gist options
  • Save ylmassemir/746d9a9edb83cc76514adfca1fecb5af to your computer and use it in GitHub Desktop.
Save ylmassemir/746d9a9edb83cc76514adfca1fecb5af 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 Kerem
homepage www.puzzlescript.net
========
OBJECTS
========
Background
#228B22 #7BB369
01000
00000
00000
00010
00000
Player
#FF0000 #FFDDB3 lightgray black
.000.
00000
.111.
22222
.3.3.
Trap
black
.....
.....
..0..
.000.
00000
Bait
#830000 #41dd12
...1.
..1..
.000.
00000
.000.
Target
#33aec4 #FF0000 yellow
00000
01110
01210
01110
00000
Wall
red lightgray
00010
11111
01000
11111
00010
Chest
brown darkbrown #FFD700 lightgray
20002
21112
20302
20002
20002
Crate
lightgray gray white
01110
12021
10201
12021
01110
Coin
#FFD700 #FFFF6E
.....
.000.
.010.
.000.
.....
TeleIn
gray lightblue
00000
01110
01110
01110
00000
River
blue lightblue
00000
01000
10000
00010
00001
=======
LEGEND
=======
. = Background
# = Wall
P = Player
* = Chest
O = Target
s = Crate
c = Coin
t = TeleIn
r = River
u = Trap
b = Bait
=======
SOUNDS
=======
sfx0 32015300
sfx1 50698307
sfx2 381304
sfx3 3865302
================
COLLISIONLAYERS
================
Background
Target, Chest , TeleIn, River, Trap, Bait
Player, Wall, Crate, Coin
======
RULES
======
[ > Player | Crate ] -> [ > Player | > Crate ]sfx1
[ > Player | Coin ] -> [ > Player | > Coin ]sfx1
[ > Player |...| TeleIn ] -> [ TeleIn | ... | Player ]sfx2
[action Player | Coin ] -> [Player | > Coin]
[ Coin Chest ] -> [ Chest ]sfx0
[ Crate Target]-> [ Target]sfx0
late[ Player River] -> [ River] restart sfx3
late[ Player Trap] -> [ Trap] restart sfx3
late[ Player Bait] -> [ Player]sfx0
==============
WINCONDITIONS
==============
all Coin on Chest
all Crate on Target
no Bait
=======
LEVELS
=======
#########
#...#...#
#..o#...#
#..##...#
#.......#
#..ss...#
#.....o.#
#..p....#
#########
#########
#..###.b#
#.b###..#
#.##u...#
#..u.b###
#..b.####
#bu###bu#
#...p..u#
#########
#########
#...*#..#
#..u##..#
#....c..#
#ucu#...#
#...###.#
#...c.#.#
#...p...#
#########
############
#......rr..#
#.o....r...#
#.....rr..o#
#.....r....#
#....rr....#
#.s..r.....#
#...rr.....#
#t.rr.....p#
#.rr..s....#
#rr........#
############
############
#t..####..t#
#.b.##..b..#
#u####....##
#..b.#...###
#....#######
#.tu##.b..##
#..b##t.####
#########b.#
#..........#
#.b.u.pb..u#
############
############
#....##rr###
#.c...#rr###
###....rr###
####...r*.##
####..rr...#
##...rrr.uu#
#..c.rrr...#
#...rr.....#
#..rr.....##
#trrr..p####
############
###############
#b.....b#..b.b#
#..###..#.b#u.#
#.u#.b..####..#
#..#.#####t#bu#
#b.#.b...#.#.b#
#..###.#b#b#u.#
#ub#.b..####b.#
#..#..u.rrrr..#
#.p##.ubrrrr.t#
###############
#############
#...#....o..#
#..s#.####..#
#..s...c....#
#.###..#....#
#....b.#....#
#..###.#..p.#
#*.b..##....#
#############
##############
#..###...#####
#b....b..#..o#
#..u#.####.#.#
###.#.t..#.#.#
#b..#.b..#.#.#
#..###.###.b.#
#..b....u...p#
##############
###############
#.............#
#.###.....c...#
#b#.b..c####.##
###.c#..#....##
#b...#b.#..c.##
#..#########.##
#.###b.......b#
#.#b##.c......#
#b#..####.....#
#.#.c#....#...#
#.#......c#.*b#
#p#b.#....#####
###############
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment