Skip to content

Instantly share code, notes, and snippets.

@Norgg
Created April 11, 2021 03:17
Show Gist options
  • Save Norgg/88f2dc3fd17fd55409adc6d462b621e7 to your computer and use it in GitHub Desktop.
Save Norgg/88f2dc3fd17fd55409adc6d462b621e7 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 16x16
run_rules_on_level_start
========
OBJECTS
========
Background
Black
SpaceVoid
Black
Space1
Black Yellow
00000
00000
00000
00100
00000
Space2
Black Yellow
00000
00000
01000
00000
00000
Space3
Black Yellow
10000
00000
00000
00000
00000
GroundVoid
Black
Ground1
#005500 #9b7653
10011
01000
01001
00000
01100
Ground2
#005500 #9b7653
00101
10000
00110
01000
10011
Ground3
#005500 #9b7653
00100
10010
00100
10010
00101
Player
Black Orange White Blue
.000.
.111.
22222
.333.
.3.3.
=======
LEGEND
=======
Space = Space1 or Space2 or Space3
Ground = Ground1 or Ground2 or Ground3
. = SpaceVoid
P = Player and GroundVoid
# = GroundVoid
=======
SOUNDS
=======
(Crate MOVE 36772507)
================
COLLISIONLAYERS
================
Background
SpaceVoid, GroundVoid
Space
Ground
Player
======
RULES
======
(Worldgen)
[GroundVoid] -> [random Ground]
[SpaceVoid] -> [random Space]
(Mechanics)
[> 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