Created
September 27, 2021 07:12
-
-
Save TottiLuukkanen/e2e28f9de0dc0285f847452714dd3ecb to your computer and use it in GitHub Desktop.
Cap-Man (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 Cap-Man | |
author Totti & Topias | |
homepage www.puzzlescript.net | |
realtime_interval 1.0 | |
youtube qtZ0hl-unM4 | |
======== | |
OBJECTS | |
======== | |
Background | |
gray | |
Ghost | |
White Black | |
. . 0 . . | |
. 0 0 0 . | |
. 1 0 1 . | |
. 0 0 0 . | |
0 0 0 0 0 | |
Wall | |
BROWN LIGHTBROWN | |
00000 | |
11010 | |
00000 | |
00111 | |
00000 | |
Player | |
BLUE LIGHTBROWN | |
. 0 0 0 . | |
. 0 1 0 0 | |
. 1 1 1 . | |
. . 1 . . | |
. 1 . 1 . | |
Food | |
White | |
..... | |
..... | |
..0.. | |
..... | |
..... | |
======= | |
LEGEND | |
======= | |
. = Background | |
- = Food | |
# = Wall | |
P = Player | |
O = Ghost | |
====== | |
SOUNDS | |
====== | |
SFX0 10175100 | |
SFX1 51013107 | |
sfx2 63019302 | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Food | |
Player, Wall, Ghost | |
====== | |
RULES | |
====== | |
[> Player] -> [ > Player] sfx1 | |
[> Player | Food ] -> [ > Player |] sfx0 | |
[> Player | Ghost] -> [|Ghost] restart sfx2 | |
[ Stationary Ghost ] -> [randomDir Ghost] | |
[ Player | | Ghost] -> [ Player | | < Ghost ] | |
[ Player ||| Ghost] -> [Player ||| < Ghost] | |
[> Ghost | Player] -> [|Ghost] restart sfx2 | |
============== | |
============== | |
============== | |
WINCONDITIONS | |
============== | |
No Food | |
======= | |
LEVELS | |
======= | |
####################### | |
#o---------#----------# | |
#-###-#########-##--#-# | |
#-#-#-#--------.-#-##-# | |
#-#-#-#-########-#--#-# | |
#---#-#-#------#-#--#-# | |
#-#---#---####-#-#--#-# | |
#-#---#-#-#-p#-#-#-##-# | |
#-#-----#------#-#--#-# | |
#-#-#---#-#--#-#------# | |
#-#-#-#--.####-#----#-# | |
#-#-#-#-#o-------#-##-# | |
#---#-#-########-#--#-# | |
#-#-#--------.------#-# | |
#-#########-#########-# | |
#--------------------o# | |
####################### | |
####################### | |
#o--------------------# | |
#-#########-#########-# | |
#-#-----------------#-# | |
#-#-#######-#######-#o# | |
#-#-#-------------#-#-# | |
#-#-#--#-#####-##-#---# | |
#---##-#----p#--#-#-#-# | |
###-#--#-#---#-#--#-#-# | |
#-#-#--#-#-----#--#-#-# | |
#-#-##-#-#####-##-#-#-# | |
#-#-#o------------#-#-# | |
#-#-###############-#-# | |
#-#---------o-------#-# | |
#-###-############-##-# | |
#----------------#----# | |
####################### | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment