Skip to content

Instantly share code, notes, and snippets.

@jcmiller11
Created September 23, 2019 12:42
Show Gist options
  • Select an option

  • Save jcmiller11/c0b16ca7fbbd20fbd2cdc2533d2ba869 to your computer and use it in GitHub Desktop.

Select an option

Save jcmiller11/c0b16ca7fbbd20fbd2cdc2533d2ba869 to your computer and use it in GitHub Desktop.
Cursor (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Cursor
author jc
homepage www.puzzlescript.net
========
OBJECTS
========
Background
White
Paint
Black
Player
DarkGrey
00.00
0...0
.....
0...0
00.00
=======
LEGEND
=======
. = Background
P = Player
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Paint
Player
======
RULES
======
(If the player has pressed action, and is on a spot with no paint, place paint)
[action Player no Paint] -> [Player Paint]
(If the player has pressed action, and is on a spot with paint, remove paint)
[action Player Paint] -> [Player]
==============
WINCONDITIONS
==============
=======
LEVELS
=======
..........
.P........
..........
..........
..........
..........
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment