Skip to content

Instantly share code, notes, and snippets.

@jcmiller11
Created June 12, 2019 18:50
Show Gist options
  • Save jcmiller11/c4d7d6715eb319e1982bebbb88fe6a44 to your computer and use it in GitHub Desktop.
Save jcmiller11/c4d7d6715eb319e1982bebbb88fe6a44 to your computer and use it in GitHub Desktop.
Paint (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Paint
author JC
homepage www.puzzlescript.net
run_rules_on_level_start
========
OBJECTS
========
Background
White
00000
00000
00000
00000
00000
Menu
Black Grey
10000
10000
10000
10000
10000
CurColor
Grey
00000
0...0
0...0
0...0
00000
White
White
00000
00000
00000
00000
00000
Blue
Blue
00000
00000
00000
00000
00000
Red
Red
00000
00000
00000
00000
00000
Green
Green
00000
00000
00000
00000
00000
Black
Black
00000
00000
00000
00000
00000
Player
Black
00.00
0...0
.....
0...0
00.00
=======
LEGEND
=======
Colors = Red or Blue or Green or White or Black
. = Background
p = Player
m = Menu
c = CurColor and Red
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Colors
Player, Menu, CurColor
======
RULES
======
[action Player] [CurColor Red] -> [Player] [CurColor Green]
[action Player] [CurColor Green] -> [Player] [CurColor Blue]
[action Player] [CurColor Blue] -> [Player] [CurColor Black]
[action Player] [CurColor Black] -> [Player] [CurColor White]
[action Player] [CurColor White] -> [Player] [CurColor Red]
late [player] [CurColor Colors] -> [player Colors] [CurColor Colors]
==============
WINCONDITIONS
==============
=======
LEVELS
=======
p.....................m
......................m
......................m
......................m
......................m
......................m
......................m
......................m
......................m
......................m
......................m
......................m
......................c
......................m
......................m
......................m
......................m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment