Created
August 19, 2021 14:22
-
-
Save ValentinaSilveira/0f03939ba3fd74081cfa79e352f4e71d to your computer and use it in GitHub Desktop.
A Little Maze (PuzzleScript Script)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | |
Death | |
lightblue blue red | |
.222. | |
01222 | |
01220 | |
00020 | |
.000. | |
BadGuy | |
red lightred | |
1...1 | |
10001 | |
01010 | |
01010 | |
.000. | |
======= | |
LEGEND | |
======= | |
b = Ball | |
p = Player | |
! = BadGuy | |
d = Death | |
# = Wall | |
. = Background | |
========= | |
SOUNDS | |
========= | |
endlevel 95228703 | |
PLAYER MOVE 12138507 | |
startgame 82028300 | |
endgame 85056702 | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Ball | |
Player, BadGuy, Death, Wall | |
====== | |
RULES | |
====== | |
(random [ Wall ] -> [ ]) | |
[ Stationary BadGuy] -> [randomDir BadGuy] | |
[ Action BadGuy | Player ] -> [ Action BadGuy | > Player ] | |
([ > Player | Player ] -> [ Death | > Player ]) | |
============== | |
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