Skip to content

Instantly share code, notes, and snippets.

@Lattay
Created May 11, 2021 21:28
Show Gist options
  • Save Lattay/6b5f52f738eb01ad644872f696603528 to your computer and use it in GitHub Desktop.
Save Lattay/6b5f52f738eb01ad644872f696603528 to your computer and use it in GitHub Desktop.
Simple Block Pushing Game (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Simple Block Pushing Game
author David Skinner
homepage www.puzzlescript.net
throttle_movement
========
OBJECTS
========
Background1
#142b23 #461220 #19692c #e06e16 #f7db7e
02000
00000
00000
00000
00000
Background2
#142b23 #461220 #19692c #e06e16 #f7db7e
00000
00000
01000
00000
00000
Background3
#142b23 #461220 #19692c #e06e16 #f7db7e
00000
00000
00000
00200
00000
HP_8
transparent
HP_6
transparent
HP_4
transparent
HP_2
transparent
Nothing
transparent
Player
#142b23 #461220 #19692c #e06e16 #f7db7e
.333.
.444.
42424
41114
.111.
Amulet
#142b23 #461220 #19692c #e06e16 #f7db7e
.....
.....
.....
..3..
.....
Monster
#142b23 #461220 #19692c #e06e16 #f7db7e
.444.
.343.
44444
4.4.4
.4.4.
Wall
#142b23 #19692c #e06e16 #f7db7e
01011
11100
10011
00100
10101
=======
LEGEND
=======
HP = HP_8 or HP_6 or HP_4 or HP_2
Background = Background1 or Background2 or Background3
. = Nothing
@ = Player
# = Wall
A = Amulet
M = Monster and HP_8
Obstacle = Wall or Monster or Player
=======
SOUNDS
=======
sfx0 83696901 (break)
sfx1 72213904 (attack)
sfx2 35182301 (kill)
sfx3 89042303 (pickup)
================
COLLISIONLAYERS
================
Background
HP, Nothing
Wall
Player, Monster
Amulet
======
RULES
======
[> Player | Wall ] -> [Player | Wall] (wall is stop)
[> Player | Monster HP_8] -> [Player | Monster HP_6] sfx1
[> Player | Monster HP_6] -> [Player | Monster HP_4] sfx1
[> Player | Monster HP_4] -> [Player | Monster HP_2] sfx1
[> Player | Monster HP_2] -> [Player | ] sfx2
[> Player | Amulet ] -> [| Player Amulet] sfx3
[> Player Amulet | no Obstacle ] -> [| Player Amulet]
[moving Monster HP] -> [moving Monster moving HP]
late [ Monster HP | no Obstacle | ... | Player] -> [ | Monster HP | ... | Player ]
==============
WINCONDITIONS
==============
=======
LEVELS
=======
########
#......#
#......#
#.@....#
#......#
#.A..M.#
#......#
########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment