Skip to content

Instantly share code, notes, and snippets.

@quantumpotato
Created December 5, 2022 14:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save quantumpotato/04ab8cccd612acffa984827ad6e830b6 to your computer and use it in GitHub Desktop.
Save quantumpotato/04ab8cccd612acffa984827ad6e830b6 to your computer and use it in GitHub Desktop.
My PS+ Game (Puzzlescript Plus Script)
Play this game by pasting the script in https://auroriax.github.io/PuzzleScript/editor.html
(
Hello there!
This is a special starting template for PuzzleScript Plus highlighting the most important differences from vanilla PuzzleScript. It's intended as a "Hello World" of sorts. So it's handy if you already know how vanilla PuzzleScript works before diving into this.
If you immediately want to working on a game instead, consider using the "Basic" or "Blank Project" example instead.
For more info, don't forget to check out the NEW EXAMPLES and the DOCS. Enjoy!
)
title My PS+ Game
author My Name Here
homepage auroriax.github.io/PuzzleScript
tween_length 0.03
smoothscreen 15x15
level_select
runtime_metadata_twiddling
text_controls Your PuzzleScript Plus journey starts here! \nHello world!
========
OBJECTS
========
Background
LIGHTGRAY GRAY
00010
11111
01000
11111
00010
Wall copy:Background
DARKGRAY BLACK
Target
#00000080
Player
Blue
Player1
Blue
Player2
Blue
Player3
Blue
PlayerWalker
Blue
PlayerJumper
Green
PlayerGoal
Orange
Crate
Orange
Fence
Red
=======
LEGEND
=======
Player = PlayerWalker or PlayerJumper
. = Background
# = Wall
1 = Player1
2 = Player2
3 = Player3
W = PlayerWalker
J = PlayerJumper
* = Crate
@ = Crate and Target
O = Target
G = PlayerGoal
F = Fence
=======
SOUNDS
=======
================
COLLISIONLAYERS
================
Background
PlayerWalker, PlayerJumper, Fence, Player, Player1, Player2, Player3, Wall, Crate, PlayerGoal
Target
======
RULES
======
[ > PlayerJumper | Fence | Background ] -> [Background | Fence | PlayerWalker ]
==============
WINCONDITIONS
==============
Any Player1 on PlayerGoal (or Any Player2 on PlayerGoal)
(All Target on Crate)
=======
LEVELS
=======
section Level 1
#############
#...........#
#...........#
#....o..F.J.#
#...........#
#...........#
#...........#
#############
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment