Created
February 18, 2020 17:16
-
-
Save realDragon11/6e8028c2ea7da866e514ac25fc73b0c3 to your computer and use it in GitHub Desktop.
Ninja Fighting Game (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 Ninja Fighting Game | |
author Brian Malone | |
homepage www.puzzlescript.net | |
======== | |
OBJECTS | |
======== | |
Background | |
Green lightgreen | |
11111 | |
01111 | |
11101 | |
11111 | |
10111 | |
Target | |
DarkBlue | |
..... | |
.000. | |
.0.0. | |
.000. | |
..... | |
Wall | |
BROWN DARKBROWN | |
00010 | |
11111 | |
01000 | |
11111 | |
00010 | |
Ninja | |
Black Orange White Blue | |
.000. | |
.202. | |
00000 | |
.000. | |
.0.0. | |
LeftNinja | |
Black Orange White Blue | |
.000. | |
.200. | |
00000 | |
.000. | |
.0.0. | |
RightNinja | |
Black Orange White Blue | |
.000. | |
.002. | |
00000 | |
.000. | |
.0.0. | |
Player | |
Green Orange White Blue | |
.000. | |
.202. | |
00000 | |
.000. | |
.0.0. | |
DeadPlayer | |
Green Orange White Red | |
30003 | |
32023 | |
00000 | |
30003 | |
30303 | |
Crate | |
Orange Yellow | |
00000 | |
0...0 | |
0...0 | |
0...0 | |
00000 | |
Door | |
Orange Yellow | |
00000 | |
00010 | |
00010 | |
00000 | |
00000 | |
======= | |
LEGEND | |
======= | |
. = Background | |
# = Wall | |
P = Player | |
N = Ninja | |
* = Crate | |
@ = Crate and Target | |
O = Target | |
L = LeftNinja | |
D = Door | |
U = DeadPlayer | |
======= | |
SOUNDS | |
======= | |
Crate MOVE 36772507 | |
================ | |
COLLISIONLAYERS | |
================ | |
Background | |
DeadPlayer, Door | |
Target | |
LeftNinja, RightNinja, Crate, Wall | |
Player, Ninja, Wall, Crate | |
====== | |
RULES | |
====== | |
[ > Player | Crate ] -> [ > Player | > Crate ] | |
[ Ninja | Player] -> [ > Ninja | Player] | |
[ Ninja | action Player] -> [ Ninja | DeadPlayer] | |
[ Ninja | stationary Player] -> [ Ninja | DeadPlayer] | |
[ stationary LeftNinja ] -> [ left LeftNinja ] | |
[ stationary RightNinja ] -> [ right RightNinja ] | |
[ > LeftNinja | Wall ] -> [ RightNinja | Wall ] | |
[ > RightNinja | Wall ] -> [ LeftNinja | Wall ] | |
[> Player | Door ] -> [Player | ] | |
[ > LeftNinja | Player ] -> [ RightNinja | DeadPlayer ] | |
[ > RightNinja | Player ] -> [ LeftNinja | DeadPlayer ] | |
============== | |
WINCONDITIONS | |
============== | |
All Target on Crate | |
======= | |
LEVELS | |
======= | |
####....... | |
#.........# | |
#......*O.# | |
#.........# | |
#..P...N..# | |
#.........# | |
#.........# | |
#....L...N# | |
########### | |
message The Ninjas come. | |
###### | |
#....# | |
#.#P.# | |
#.*@.# | |
#.O@.# | |
#....# | |
###### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment