Skip to content

Instantly share code, notes, and snippets.

@Norgg
Created May 6, 2021 15:42
Show Gist options
  • Save Norgg/931ecaf014633106f5511497411bf68b to your computer and use it in GitHub Desktop.
Save Norgg/931ecaf014633106f5511497411bf68b to your computer and use it in GitHub Desktop.
Spacething (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Spacething
author Norgg
zoomscreen 10x10
run_rules_on_level_start
youtube ZPoqNeR3_UA
========
OBJECTS
========
Background
#040404
SpaceVoid
#040404
Space1
#040404 #ccaa11
00000
00010
00000
00000
00000
Space2
#040404 #cccc22
00000
00000
01000
00000
00000
Space3
#040404
Space4
#040404
Space5
#040404
Space6
#040404
Space7
#040404
Space8
#040404
Space9
#040404
GroundVoid
#040404
Ground1
#005500 #9b7653
10011
01000
01001
00000
01100
Ground2
#005500 #9b7653
00101
10000
00110
01000
10011
Ground3
#005500 #9b7653
00100
10010
00100
10010
00101
PlayerLeft
DarkGrey White LightBlue
.111.
.1012
11112
.1112
.1.1.
PlayerRight
DarkGrey White LightBlue
.111.
2101.
21111
2111.
.1.1.
=======
LEGEND
=======
Player = PlayerLeft or PlayerRight
Space = Space1 or Space2 or Space3 or Space4 or Space5 or Space6 or Space7 or Space8 or Space9
Ground = Ground1 or Ground2 or Ground3
. = SpaceVoid
P = PlayerRight and GroundVoid
# = GroundVoid
=======
SOUNDS
=======
(Crate MOVE 36772507)
================
COLLISIONLAYERS
================
Background
SpaceVoid, GroundVoid
Space
Ground
Player
======
RULES
======
(Worldgen)
[GroundVoid] -> [random Ground]
[SpaceVoid] -> [random Space]
(Mechanics)
Left [> PlayerRight ] -> [> PlayerLeft]
Right [> PlayerLeft ] -> [> PlayerRight]
[> Player | Space] -> [ Player | Space]
([ > Player | Crate ] -> [ > Player | > Crate ])
==============
WINCONDITIONS
==============
(All Target on Crate)
=======
LEVELS
=======
........................................................................................
........................................................................................
........................................................................................
........................................................................................
........................................................................................
........................................................................................
........................................................................................
........................................................................................
........................................................................................
........................................................................................
........................................................................................
................................###.....................................................
...............................#####....................................................
..............................#######...................................................
.............................#########..................................................
.............................####P####..................................................
.............................#########..................................................
..............................#######...................................................
...............................#####....................................................
................................###.....................................................
........................................................................................
........................................................................................
........................................................................................
........................................................................................
........................................................................................
........................................................................................
........................................................................................
........................................................................................
........................................................................................
........................................................................................
........................................................................................
........................................................................................
........................................................................................
........................................................................................
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment