Skip to content

Instantly share code, notes, and snippets.

@duchainer
Forked from anonymous/readme.txt
Last active June 16, 2017 00:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save duchainer/bafcab824a6318348a3d5afbd203a22c to your computer and use it in GitHub Desktop.
Save duchainer/bafcab824a6318348a3d5afbd203a22c to your computer and use it in GitHub Desktop.
title
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Javazone 1.0
author hackerman
homepage www.puzzlescript.net
verbose_logging
(realtime_interval 0.75)
run_rules_on_level_start
(zoomscreen 10x10)
norepeat_action
========
OBJECTS
========
(Colours)
( black white grey darkgrey
lightgrey
gray
darkgray
lightgray
red
darkred
lightred
browndark
brownlight
brownorange
yellow
green
darkgreen
lightgreen
blue
lightblue
darkblue
purple
pink
transparent)
nothing
transparent
Background (special, automatically placed in its own layer)
White #EDEDED
11111
01111
11101
11111
10111
Wall
Blue
SpawnerR1 (Name)
RED (Color)
..... (Sprite)
..0..
.000.
..0..
.....
SpawnerR2 (Name)
RED (Color)
..... (Sprite)
.0.0.
0.0.0
.0.0.
.....
SpawnerY1 (Name)
YELLOW (Color)
..... (Sprite)
..0..
.000.
..0..
.....
SpawnerY2 (Name)
YELLOW (Color)
..... (Sprite)
.0.0.
0.0.0
.0.0.
.....
SpawnerG1 (Name)
Green (Color)
..... (Sprite)
..0..
.000.
..0..
.....
SpawnerG2 (Name)
GREEN (Color)
..... (Sprite)
.0.0.
0.0.0
.0.0.
.....
PlayerArmed (Required by game)
PINK gray
....1
..0.1
.0001
..0.1
.0.01
PlayerThrowing
PINK gray
11111
..0..
.000.
..0..
.0.0.
PlayerUnarmed
PINK gray
.....
..0..
.000.
..0..
.0.0.
halfPlayer
Pink gray
.....
..0..
.00..
..0..
.0...
Corpse
Red gray
.000.
00000
00000
00000
.000.
electricBody
blue gray
.000.
00100
01010
00100
01010
(Four direction spears)
throwUp
pink grey brown
..1..
.111.
..2..
..2..
..2..
throwDown
pink grey brown
..2..
..2..
..2..
.111.
..1..
throwLeft
pink grey brown
.....
.1...
11222
.1...
.....
throwRight
pink grey brown
.....
...1.
22211
...1.
.....
(Four direction beams)
beamUp
pink grey blue lightgrey
..2..
...2.
..2..
.3...
..1..
beamDown
pink grey blue lightgrey
..1..
...3.
..2..
.2...
..2..
beamLeft
pink grey blue lightgrey
.....
.2...
2.2.1
...3.
.....
beamRight
pink grey blue lightgrey
.....
.3...
1.2.2
...2.
.....
(enemies)
RedRobot
gray black red
.000.
.202.
...0.
00000
01010
GreenRobot
gray black green
.000.
.202.
...0.
00000
01010
yellowRobot
gray black yellow
.000.
.202.
...0.
00000
01010
wreck
gray black yellow
1...1
.000.
01010
.000.
1...1
=======
LEGEND
=======
Robot = redRobot or greenRobot or yellowRobot
Player=PlayerArmed or PlayerUnarmed or PlayerThrowing or halfPlayer
Obstacle = Player or Robot
throw=throwUp or throwDown or throwLeft or throwRight
beam=beamUp or beamDown or beamLeft or beamRight
projectile=beam or throw
Spawner=SpawnerR1 or SpawnerR2 or SpawnerY1 or SpawnerY2 or SpawnerG1 or SpawnerG2
. = Background
P = PlayerArmed
* = Robot
G = SpawnerG2
Y = SpawnerY2
R = SpawnerR2
¤ = Wall
L = redRobot
C=halfPlayer
=========
SOUNDS
=========
Player Move 41234
Player Destroy 23702504
Robot Move 123414
Robot Create 41234123
CloseMessage 1241234
Sfx0 86689901
Sfx3 213424
Robot Destroy 412312
================
COLLISIONLAYERS
================
Background,
wreck, nothing, Corpse, electricBody
Spawner
Player, Robot, wall
throw,beam
======
RULES
======
[wreck spawner] -> [] sfx0
[wreck|spawner] -> [|] sfx0
[wreck]->[]
[redRobot throwUp ]-> [wreck beamDown]
[redRobot throwDown ]-> [wreck beamUp]
[redRobot throwLeft ]-> [wreck beamRight]
[redRobot throwRight ]-> [wreck beamLeft]
UP[throwUp|redRobot]->[beamDown|wreck]
DOWN[throwDown|redRobot]->[beamUp|wreck]
LEFT[throwLeft|redRobot]->[beamRight|wreck]
RIGHT[throwRight|redRobot]->[beamLeft|wreck]
[robot throw ]-> [wreck]
UP[throwUp|Robot]->[|wreck]
DOWN[throwDown|Robot]->[|wreck]
LEFT[throwLeft|Robot]->[|wreck]
RIGHT[throwRight|Robot]->[|wreck]
(UP[throwUp|yellowRobot]->[|redRobot]
DOWN[throwDown|yellowRobot]->[|redRobot]
LEFT[throwLeft|yellowRobot]->[|redRobot]
RIGHT[throwRight|yellowRobot]->[|redRobot])
[PlayerUnarmed]->[PlayerArmed]
(
UP[beamUp|Player]->[|electricBody]
DOWN[beamDown|Player]->[|electricBody]
LEFT[beamLeft|Player]->[|electricBody]
RIGHT[beamRight|Player]->[|electricBody])
[Player beam ]-> [electricBody]
[Robot|Player]->[Robot|Corpse]
[ stationary greenRobot|...|Player] -> [> greenRobot|...|Player]
[ stationary yellowRobot|...|throw] -> [^ yellowRobot|...|throw]
+[ stationary yellowRobot|...|throw] -> [V yellowRobot|...|throw]
[ stationary yellowRobot|...|Player] -> [> yellowRobot|...|Player]
[ stationary redRobot|...|Player] -> [> redRobot|...|Player]
([wreck|spawner|wreck] ->[wreck||wreck] )
([Action PlayerArmed]->[Action PlayerThrowing])
[projectile |beam]-> [|beam]
([throw|...|robot] -> [|...|wreck])(Old way)
UP[stationary throwUp]->[> throwUp]
DOWN[stationary throwDown]->[> throwDown]
LEFT[stationary throwLeft]->[> throwLeft]
RIGHT[stationary throwRight]->[> throwRight]
UP[stationary beamUp]->[> beamUp]
DOWN[stationary beamDown]->[> beamDown]
LEFT[stationary beamLeft]->[> beamLeft]
RIGHT[stationary beamRight]->[> beamRight]
UP[Action PlayerArmed|no Obstacle |...|robot] -> [Action PlayerArmed|throwUp |...|robot]
DOWN[Action PlayerArmed|no Obstacle |...|robot] -> [Action PlayerArmed|throwDown |...|robot]
LEFT[Action PlayerArmed|no Obstacle |...|robot] -> [Action PlayerArmed|throwLeft |...|robot]
RIGHT[Action PlayerArmed|no Obstacle |...|robot] -> [Action PlayerArmed|throwRight |...|robot]
[Player|throw]->[PlayerUnarmed|throw]
([ > Robot | Robot ] -> [ wreck | > Robot ])
([ Player|throw|robot]->[Player||wreck])
([ > Player|robot] -> [ > Player|> robot])
[Wall projectile]->[Wall]
([Wall| STATIONARY projectile]->[Wall|])
[stationary Robot spawner]->[randomDir Robot spawner]
[SpawnerG1]->[SpawnerG2]
[SpawnerY1]->[SpawnerY2]
[SpawnerR1]->[SpawnerR2]
[no Obstacle|SpawnerG2 no Obstacle|no Obstacle]->[no Obstacle|SpawnerG1 greenRobot|no Obstacle]
[no Obstacle|SpawnerY2 no Obstacle|no Obstacle]->[no Obstacle|SpawnerY1 yellowRobot|no Obstacle]
[no Obstacle|SpawnerR2 no Obstacle|no Obstacle]->[no Obstacle|SpawnerR1 redRobot|no Obstacle]
(Last level (cloned))
[> halfPlayer|halfPlayer]->[|PlayerArmed]
==============
WINCONDITIONS
==============
no Robot
=======
LEVELS
=======
MESSAGE Attention!!
MESSAGE Des robot venus du futur vous attaquent dans la neige!
Message Ne les laissez pas vous approcher!!!
Message Detruisez leur portes dimensionnelles en explosant des robots proches.
¤¤¤¤¤¤¤¤¤¤
¤........¤
¤..G.....¤
¤........¤
¤...G....¤
¤........¤
¤.P......¤
¤........¤
¤........¤
¤¤¤¤¤¤¤¤¤¤
MESSAGE Bravo, mais en voila d'autres!
¤¤¤¤¤¤¤¤¤¤
¤........¤
¤..Y.....¤
¤........¤
¤.....Y..¤
¤........¤
¤.P......¤
¤........¤
¤........¤
¤¤¤¤¤¤¤¤¤¤
Message Leur nombre s'intensifie.
¤¤¤¤¤¤¤¤¤¤
¤........¤
¤.y...y..¤
¤........¤
¤........¤
¤........¤
¤.p...g..¤
¤........¤
¤........¤
¤¤¤¤¤¤¤¤¤¤
Message Les prochains vous reserve une surprise
¤¤¤¤¤¤¤¤¤¤
¤........¤
¤..R.....¤
¤........¤
¤.....R..¤
¤........¤
¤.P......¤
¤........¤
¤........¤
¤¤¤¤¤¤¤¤¤¤
Message A partir d'ici, seul l'instinct vous aidera
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
¤..................¤
¤..R...........Y...¤
¤...........G......¤
¤.....R............¤
¤........P.........¤
¤.Y................¤
¤..................¤
¤..............G...¤
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
Message Un dernier pour la route
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
¤..................¤
¤..R...........G...¤
¤..R........Y......¤
¤..................¤
¤........P.........¤
¤.R.........L......¤
¤...........L..L...¤
¤.........L........¤
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
Message En refermant le dernier portail, un dernier jet d'energie se jette sur vous
Message Vous etes divise en deux partie que vous devez:vous reunir
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
¤.............¤¤.¤.¤....¤¤...¤¤¤.c¤
¤¤¤.¤.¤.¤.¤.¤.¤.¤¤¤......¤..L.....¤
¤¤¤.¤¤¤¤¤¤¤¤¤.¤¤¤¤¤¤¤¤...¤...¤¤¤¤.¤
¤......L¤¤¤¤¤..¤¤¤¤¤¤¤....¤..¤¤¤¤.¤
¤L..¤.....¤¤¤¤.........¤¤.¤¤..¤¤..¤
¤...¤¤¤¤¤¤¤..¤¤¤¤¤¤...¤¤¤.¤¤..¤¤..¤
¤......C¤¤.........¤.....L........¤
¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤¤
Message Bonne Fete Papa! :D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment