Created
September 15, 2020 12:35
-
-
Save kahlstrm/22ed314b6f25610d7e5807adb97fc9f3 to your computer and use it in GitHub Desktop.
Laivanupotus (PuzzleScript Script)
This file contains hidden or 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 hidden or 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 Laivanupotus | |
author Elias Ojanpera, Jussi Lamberg, Niko Mikkonen, Kalle Ahlstrom | |
homepage www.puzzlescript.net | |
noundo | |
realtime_interval 0.1 | |
throttle_movement | |
======== | |
OBJECTS | |
======== | |
Background | |
Blue | |
Wall | |
Gray | |
Counter | |
Blue | |
End | |
Red | |
checkpoint1 | |
Green | |
checkpoint2 | |
lightgreen | |
Player | |
Yellow | |
00000 | |
00.00 | |
0...0 | |
00.00 | |
00000 | |
Ship | |
Black | |
Hit | |
Red | |
..0.. | |
.000. | |
00000 | |
.000. | |
..0.. | |
Miss | |
White | |
..... | |
..... | |
..0.. | |
..... | |
..... | |
======= | |
LEGEND | |
======= | |
c1 = checkpoint1 | |
e = End and Wall | |
c = Counter | |
. = Background | |
w = Wall | |
p = Player | |
s = Ship | |
h = Hit | |
m = Miss | |
a = Counter and checkpoint1 | |
b = Wall and checkpoint2 | |
======= | |
SOUNDS | |
======= | |
StartLevel 123413 | |
EndLevel 123413 | |
sfx0 21973702 | |
sfx1 72501706 | |
================ | |
COLLISIONLAYERS | |
================ | |
Ship | |
Background | |
Hit,Miss | |
Wall, Player | |
Counter | |
checkpoint1, checkpoint2 | |
End | |
====== | |
RULES | |
====== | |
[ Action Player Ship ] -> [ Action Player Hit sfx0] | |
[ Action Player no Hit no Miss][Counter]-> [Action Player Miss Background sfx1][down Counter] | |
[Counter End] [checkpoint1][checkpoint2]->[End][checkpoint1 Counter][down checkpoint2] | |
[checkpoint2 End] ->restart | |
============== | |
WINCONDITIONS | |
============== | |
No Ship | |
======= | |
LEVELS | |
======= | |
Message Etsi kaksi laivaa, pituudet 3 ja 4, ja upota ne. Liikuta tahtain ruudun paalle ja ammu X:lla. | |
wwwwwwwwwwwwwwwwwwwwabwww | |
wp...........s....wwwwwww | |
w............s....wwwwwww | |
w...sss......s....wwwwwww | |
w............s....wwwwwww | |
w.................wwwewww | |
w.................wwwwwww | |
w.................wwwwwww | |
w.................wwwwwww | |
w.................wwewwww | |
w.................wwwwwww | |
w.................wwwwwww | |
w.................wwwwwww | |
wwwwwwwwwwwwwwwwwwwwwwwww | |
Message Etsi kolme laivaa, pituudet 2, 3 ja 4, ja upota ne. | |
wwwwwwwwwwwwwwwwwwwwabwww | |
wpssss............wwwwwww | |
w.................wwwwwww | |
w.................wwwwwww | |
w.................wwwwwww | |
w...........ssss..wwwewww | |
w.................wwwwwww | |
w......s..........wwwwwww | |
w......s..........wwewwww | |
w......s..........wwwwwww | |
w......s..........wwwwwww | |
w.................wwwwwww | |
w.................wwwwwww | |
wwwwwwwwwwwwwwwwwwwwwwwww | |
Message Onnittelut! | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment