Created
September 9, 2021 07:49
-
-
Save arya-s/10ce0bf7d29e23da2b291739d8e0c647 to your computer and use it in GitHub Desktop.
U (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 U | |
author aryajp | |
key_repeat_interval 0.25 | |
======== | |
OBJECTS | |
======== | |
Temp | |
Black | |
Background . | |
darkgreen | |
Platform p | |
darkbrown | |
Water ~ | |
#041d62 | |
Hero h | |
PINK YELLOW BLACK RED darkbrown | |
43334 | |
40004 | |
22122 | |
42224 | |
42424 | |
Fish f | |
BLUE BLACK YELLOW #041d62 | |
33333 | |
30112 | |
01022 | |
00002 | |
30203 | |
HeroFish 1 | |
BLUE BLACK YELLOW RED #041d62 | |
43334 | |
40112 | |
01022 | |
00002 | |
40204 | |
Crate C | |
#99500f | |
..... | |
.000. | |
.000. | |
.000. | |
..... | |
======= | |
LEGEND | |
======= | |
Player = Hero or HeroFish | |
Walker = Hero | |
walkable = Platform | |
Swimmer = Fish or HeroFish | |
swimable = Water | |
========= | |
SOUNDS | |
========= | |
endlevel 97301508 | |
startgame 97301508 | |
endgame 97301508 | |
sfx1 64251308 | |
sfx2 81744108 | |
================ | |
COLLISIONLAYERS | |
================ | |
Temp | |
Background | |
walkable, swimable | |
Walker, Swimmer, Crate | |
====== | |
RULES | |
====== | |
( These rules make it so that the players position is stored, the other entity being taken over and when released | |
will restore the player at its original position | |
[ Action ActivePlayer | ... | InactiveGuy ] -> [ Temp | ... | ActiveGuy sfx1] | |
[ Action ActiveGuy ] [ Temp ] -> [ InactiveGuy ] [ ActivePlayer sfx2] | |
) | |
[ Action Hero | ... | Fish ] -> [ Platform | ... | HeroFish sfx1 ] | |
[ Action HeroFish | walkable ] -> [ Fish | walkable Hero sfx2] | |
[ > Walker | swimable ] -> cancel | |
[ > Swimmer | walkable] -> cancel | |
[ > Walker | ] -> [ walkable | Walker ] | |
[ > Swimmer | ] -> [ swimable | Swimmer ] | |
============== | |
WINCONDITIONS | |
============== | |
======= | |
LEVELS | |
======= | |
message level 1 of 10 | |
ph~~~~ | |
pp~~~~ | |
~~~~~~ | |
~f~~pp | |
~~~~pp | |
message congratulations! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment