Skip to content

Instantly share code, notes, and snippets.

@jonbro
Created November 5, 2022 16:33
Show Gist options
  • Save jonbro/d0d85cae6b938f047b042905db7c3943 to your computer and use it in GitHub Desktop.
Save jonbro/d0d85cae6b938f047b042905db7c3943 to your computer and use it in GitHub Desktop.
fight mob (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title fight mob
author ziv
========
OBJECTS
========
Background
brown lightbrown
11111
01111
11101
11111
10111
Target
darkblue
.....
.000.
.0.0.
.000.
.....
Wall
brown darkbrown
00010
11111
01000
11111
00010
Player3
pink orange white blue
.000.
.111.
22222
.333.
.3.3.
Player2
pink orange white blue
.020.
.111.
22222
.333.
.3.3.
Player1
pink orange white blue
.222.
.111.
22222
.333.
.3.3.
skeleton
white black
.000.
01010
00000
.000.
.010.
mob
green lightgreen brown blue
..2..
10001
10101
.3.3.
.3.3.
obsidian
black purple
10000
00100
01001
10010
01000
=======
LEGEND
=======
. = Background
# = Wall
P = Player3
Player = Player3 or Player2 or Player1
m = mob
=======
SOUNDS
=======
sfx0 67117309
================
COLLISIONLAYERS
================
Background
Target, obsidian
Player, Wall, mob, skeleton
======
RULES
======
[ mob | ... | Player ] -> [ > mob | ... | Player ] sfx0
[ > player | mob ] -> [ player | obsidian ] sfx0
late [Player2 obsidian] -> [Player3 obsidian]
late [Player1 obsidian] -> [Player2 obsidian]
late [player1 | mob] -> [skeleton | mob]
late [player2 | mob] -> [Player1 | mob]
late [player3 | mob] -> [Player2 | mob]
==============
WINCONDITIONS
==============
no mob
all player on obsidian
=======
LEVELS
=======
#########
#.m.....#
#....m..#
#.P.....#
#...m...#
#.....m.#
#########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment