Skip to content

Instantly share code, notes, and snippets.

@octoConnors
Created August 3, 2019 02:26
Show Gist options
  • Select an option

  • Save octoConnors/091da393ed6260a4bdb19970169cbf6d to your computer and use it in GitHub Desktop.

Select an option

Save octoConnors/091da393ed6260a4bdb19970169cbf6d to your computer and use it in GitHub Desktop.
My Game (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title My Game
author My Name Here
homepage www.puzzlescript.net
run_rules_on_level_start
========
OBJECTS
========
Background
DARKGREEN
wall
BROWN
gen
transparent
00000
00000
00000
00000
00000
player
blue
playerSpawn
transparent
target
green
=======
LEGEND
=======
. = Background
# = Wall
g = gen
p = playerSpawn and wall
o = target
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
target
wall, player
gen
playerSpawn
======
RULES
======
startloop
random [g| |no g] -> [g|no wall|g no wall]
[playerSpawn no wall] -> [player]
endloop
==============
WINCONDITIONS
==============
=======
LEVELS
=======
#################
###############o#
#################
#################
#################
#################
#################
#######g#########
#################
#################
#################
#################
#################
#p###############
#################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment