Skip to content

Instantly share code, notes, and snippets.

@jjmajava
Created April 13, 2020 17:11
Show Gist options
  • Save jjmajava/d40c7e2d9e8106c3a5e21b5edd3a65a7 to your computer and use it in GitHub Desktop.
Save jjmajava/d40c7e2d9e8106c3a5e21b5edd3a65a7 to your computer and use it in GitHub Desktop.
Untitled PuzzleScript Script
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
run_rules_on_level_start
========
OBJECTS
========
background .
#000000 #55415f
00000
00000
00000
00100
00000
rubble ,
#000000 #55415f
10000
00010
01000
00001
00100
tiles -
#000000 #55415f
00000
01010
10100
01010
10100
Wall #
#000000
00000
00000
00000
00000
00000
WallL
#000000 #646964
1....
1....
1....
1....
1....
WallR
#000000 #646964
....1
....1
....1
....1
....1
WallD
#000000 #646964
.....
.....
.....
.....
11111
WallU
#000000 #646964
11111
.....
.....
.....
.....
Facade
#000000 #646964 #55415f
21221
12112
00000
.....
.....
Stairs S
#000000 #55415f
11111
00000
10000
10100
10101
HeroR H
#000000 #d77355 #e6c86e #508cd7
02222
22323
02222
01110
01110
HeroL
#000000 #d77355 #e6c86e #508cd7
22220
32322
22220
01110
01110
GoblinL G
#000000 #d77355 #64b964 #e6c86e
20002
22220
32320
11110
01110
DemonL D
#000000 #d77355 #646964 #e6c86e
20002
11122
31310
11110
01110
=======
LEGEND
=======
Hero = HeroL or HeroR
Player = Hero
Goblin = GoblinL
Demon = DemonL
Mob = Goblin or Demon
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
background
rubble tiles
facade
stairs
wall hero mob
wallu
walld
wallr
walll
======
RULES
======
( Build )
up [ wall | no wall ] -> [ wall wallu | ]
down [ wall | no wall ] -> [ wall walld | facade ]
left [ wall | no wall ] -> [ wall walll | ]
right [ wall | no wall ] -> [ wall wallr | ]
( )
( Hero moves )
[ left Hero ] -> [ left HeroL ]
[ right Hero ] -> [ right HeroR ]
==============
WINCONDITIONS
==============
=======
LEVELS
=======
################
#,,,#######....#
#,D.###...G.##.#
#.,.###G,,,.#..#
##.####...,,#..#
##.######.###.##
##,#,..##.###.##
##.#,H.##.##...#
##,#.,,#...#.s.#
##.......#.#...#
#####.####.#####
###...#-----####
#...###-----####
#...###-----####
################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment