Skip to content

Instantly share code, notes, and snippets.

@BlueNacho
Created September 6, 2025 00:34
Show Gist options
  • Select an option

  • Save BlueNacho/161e43a011436f0f485df6f528b62dda to your computer and use it in GitHub Desktop.

Select an option

Save BlueNacho/161e43a011436f0f485df6f528b62dda to your computer and use it in GitHub Desktop.
Puzzle (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Puzzle
author Pablo Constantino
homepage www.puzzlescript.net
========
OBJECTS
========
Background
#08d408 #05b005
0100
00001
00010
10010
01000
Wall
#959fa3 #646b6e #6e777a
22122
11111
10000
11111
00100
Player
#f2caa5 white #10c2de black
..0..
22222
02220
.333.
.1.1.
Goal
white
00000
0...0
0...0
0...0
0...0
Ball
white grey darkgray
.000.
02020
00201
02021
.111.
BallInGoal
lightgreen grey darkgray
.000.
02020
00201
02021
.111.
========
LEGEND
========
. = Background
# = Wall
P = Player
G = Goal
B = Ball
========
SOUNDS
========
Ball Move 41234
Player CantMove 41234
BallInGoal create 512310
StartLevel 512310
========
COLLISIONLAYERS
========
Background
Goal
Player, Wall, Ball, BallInGoal
======
RULES
======
[ < Player | Ball ] -> [ < Player | < Ball ]
[ > Player | Ball ] -> [ > Player | > Ball ]
late [ Ball Goal ] -> [ BallInGoal Goal ]
==============
WINCONDITIONS
==============
all Goal on BallInGoal
=======
LEVELS
=======
#########
#.......#
#...#...#
#.PB#.G.#
#...#...#
#.......#
#########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment