Created
February 19, 2014 17:27
-
-
Save anonymous/9096907 to your computer and use it in GitHub Desktop.
title
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 Pirate Game | |
author Alan Hazelden | |
homepage www.draknek.org | |
run_rules_on_level_start | |
again_interval 0.06 | |
youtube a3tJ44-M89M | |
======== | |
OBJECTS | |
======== | |
Background | |
#1d57f7 #b2dcef | |
00000 | |
01000 | |
00001 | |
00000 | |
00100 | |
U_Tip | |
#eb8931 #732930 #493c2b #ffffff | |
..... | |
..... | |
..... | |
..... | |
..0.. | |
U_Front | |
#eb8931 #732930 #493c2b #ffffff | |
.010. | |
01110 | |
01110 | |
03330 | |
03330 | |
U_Back | |
#eb8931 #732930 #493c2b #ffffff | |
03330 | |
01210 | |
01210 | |
01110 | |
.000. | |
Cannon | |
White | |
..... | |
..... | |
..... | |
..... | |
..... | |
Target | |
Red | |
.0.0. | |
00.00 | |
..... | |
00.00 | |
.0.0. | |
Shot13 | |
Black | |
..... | |
..... | |
0.... | |
..... | |
..... | |
Shot22 | |
Black | |
..... | |
.0... | |
..... | |
..... | |
..... | |
Shot31 | |
Black | |
..0.. | |
..... | |
..... | |
..... | |
..... | |
Shot40 | |
Black | |
...0. | |
..... | |
..... | |
..... | |
..... | |
Shot50 | |
Black | |
....0 | |
..... | |
..... | |
..... | |
..... | |
Shot11 | |
Black | |
0.... | |
..... | |
..... | |
..... | |
..... | |
Hit | |
Black #b2dcef | |
..... | |
..1.. | |
.101. | |
..1.. | |
..... | |
======= | |
LEGEND | |
======= | |
. = Background | |
Front = U_Front | |
Back = U_Back | |
Tip = U_Tip | |
Player = Front | |
Ship = Front or Back | |
Cannonball = Shot13 or Shot22 or Shot31 or Shot40 or Shot50 or Shot11 or Hit | |
1 = U_Front | |
2 = U_Back and Cannon | |
======= | |
SOUNDS | |
======= | |
sfx0 18680102 (fire cannonball) | |
sfx1 1006909 (splash) | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
Cannon | |
Ship, Tip | |
Target | |
Cannonball | |
====== | |
RULES | |
====== | |
[ Tip ] -> [] | |
(Fire cannonballs) | |
[ action Player ] [ Back ] -> [ action Player ] [ action Back ] | |
[ Hit Target ] [ Ship Cannon ] [ Ship no Cannon ] -> [ Target ] [ Ship no Cannon ] [ Ship Cannon ] sfx1 | |
right [ Ship | | Shot22 Target ] -> [ Ship | | Hit Target ] again | |
right [ Ship | | Shot11 Target ] -> [ Ship | | Shot22 Target ] again | |
right [ Ship | Shot50 | Target ] -> [ Ship | | Shot11 Target ] again | |
right [ Ship | Shot40 | Target ] -> [ Ship | Shot50 | Target ] again | |
right [ Ship | Shot31 | Target ] -> [ Ship | Shot40 | Target ] again | |
right [ Ship | Shot22 | Target ] -> [ Ship | Shot31 | Target ] again | |
right [ Ship | Shot13 | Target ] -> [ Ship | Shot22 | Target ] again | |
right [ action Ship | | Target ] -> [ Ship | Shot13 | Target ] sfx0 again | |
(Move ship) | |
[ moving Front ] [ Back ] -> [ moving Front ] [ moving Back ] | |
[ moving Ship Cannon ] -> [ moving Ship moving Cannon ] | |
(Update ship graphics) | |
late down [ Front | Back ] -> [ U_Front | U_Back ] | |
late down [ no Ship | U_Front ] -> [ U_Tip | U_Front ] | |
(Move target) | |
late [ Target ] -> [] | |
late right [ Cannon | | ] -> [ Cannon | | Target ] | |
============== | |
WINCONDITIONS | |
============== | |
======= | |
LEVELS | |
======= | |
..... | |
..... | |
..1.. | |
..2.. | |
..... | |
..... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment