Skip to content

Instantly share code, notes, and snippets.

@ValentinaSilveira
Created August 19, 2021 16:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ValentinaSilveira/d2c2f667dc77738d876794be0ed893c4 to your computer and use it in GitHub Desktop.
Save ValentinaSilveira/d2c2f667dc77738d876794be0ed893c4 to your computer and use it in GitHub Desktop.
A Little Maze (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title A Little Maze
author Valentina Silveira
homepage www.lexaloffle.com
background_color darkblue
text_color lightblue
========
OBJECTS
========
Background
DarkBlue
Wall
Gray
Ball
White Gray
.000.
00000
00000
00000
.000.
Player
lightblue blue
.000.
01010
01010
00000
.000.
Death1
lightblue blue red
.222.
01010
01010
00000
.000.
Death2
lightblue blue red
.222.
01022
01010
00010
.000.
Death3
lightblue blue red
.222.
01222
01220
00020
.000.
BadGuy
red lightred
1...1
10001
01010
01010
.000.
Pinchos
grey black lightgray
0...0
.010.
01210
.010.
0...0
=======
LEGEND
=======
b = Ball
p = Player
! = BadGuy
1 = Death1
2 = Death2
3 = Death3
# = Wall
. = Background
- = pinchos
=========
SOUNDS
=========
endlevel 95228703
PLAYER MOVE 12138507
startgame 82028300
endgame 85056702
================
COLLISIONLAYERS
================
Background
Ball
Player, BadGuy, Wall
pinchos, Death1, Death2, Death3
======
RULES
======
(BadGuy mata a player)
[ player | BadGuy] -> [BadGuy | ]
(BadGuy se mueve aleatoriamente)
[ stationary BadGuy ] -> [randomDir BadGuy]
(Animación cuando matan a Player)
[Death3] -> []
[Death2] -> [Death3] again
[Death1] -> [Death2] again
late [Player pinchos] -> [Death1] again
==============
WINCONDITIONS
==============
All Ball on Player
=======
LEVELS
=======
Message Level 1
#########
#b......#
#######.#
#p......#
#########
Message Very good! This level was very easy...
Message Level 2
#############
#..........b#
######.######
#...........#
##.##########
#..........p#
#############
Message Lets see if you can pass this one
Message Level 3
#################
#.....b#p.......#
#.#############.#
#.#.#...#.#.....#
#.#.#.#.#.#.#####
#.#...#...#.....#
#.##.##.#######.#
#.#...#.#...#...#
#.#.#.#.#.#.###.#
#.....#...#.....#
#################
Message Not fair!
Message Level 4
#####################
#.....##.....#.....##
#.###....#.#...###..#
#.#.###.#.#.#.##..#.#
#.#...#.#####....#..#
#.#.#...#...###.#..##
#.#.#.###.p....#..#.#
#...#...#...##..#..##
#.##..#######.#..#..#
#.#..#....#....#..#b#
#.#.#..##.###.#.#..##
#....#..#...#...#...#
##.#...##.#...#...#.#
#####################
Message Oh no!
#####
#.!.#
#####
Message Here comes the Bad Guy!
Message Level 5
#########################
#.......................#
#.......................#
#.......................#
#.......................#
#.......................#
#.......................#
#.....!.p...............#
#.......................#
#.......................#
#.......................#
#.......................#
#.......................#
#########################
Message Thanks for playing!
Message More levels coming soon...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment