Skip to content

Instantly share code, notes, and snippets.

@jcmiller11
Created November 13, 2021 19:44
Show Gist options
  • Select an option

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

Select an option

Save jcmiller11/a961014c0f802deac50eb22da0c45842 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
verbose_logging
========
OBJECTS
========
Background
GREEN
Wall
BROWN
Player
Transparent
Player1
Blue
Player2
Red
=======
LEGEND
=======
. = Background
# = Wall
1 = Player1 and Player
2 = Player2
Players = Player1 or Player2
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
Players, Wall
Player
======
RULES
======
(send movement to Players)
[> Player][Players] -> [> Player][> Players]
(send action only to Player2)
[action Player][Player2] -> [action Player][action Player2]
(switch players on action)
[action Player2] [Player1] -> [Player1] [Player2]
==============
WINCONDITIONS
==============
=======
LEVELS
=======
#########
#.......#
#.......#
#.1...2.#
#.......#
#.......#
#########
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment