Skip to content

Instantly share code, notes, and snippets.

@thacuber2a03
Created September 4, 2020 22:54
Show Gist options
  • Save thacuber2a03/7dbf925bd7425c07d19845b977a426ec to your computer and use it in GitHub Desktop.
Save thacuber2a03/7dbf925bd7425c07d19845b977a426ec to your computer and use it in GitHub Desktop.
Super map exploration game (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Super map exploration game
author Tha Cuber
homepage thacuber.itch.io
zoomscreen 10 x 10
key_repeat_interval 0.3
norepeat_action
========
OBJECTS
========
GuyNothing
blue black brown lightbrown
.222.
.333.
00000
.000.
.1.1.
GuyAxe
blue black brown lightbrown gray
22244
33344
00002
000.2
1.1..
GuyPickaxe
blue black brown lightbrown gray
22244
333.2
00002
000.2
1.1..
Background
white
Water
white blue lightblue
21111
10111
11111
21111
11012
Sand
yellow lightbrown
00000
01000
00010
10000
01100
DarkGrass
darkgreen green
00001
01000
00010
10000
00010
Tree
green brown
.000.
00000
.000.
..1..
..1..
Rock
gray darkgray white
.....
.001.
02001
00001
.....
Axe
gray brown
..00.
.000.
..00.
..1..
..1..
Pickaxe
gray brown
.000.
00000
0.1.0
..1..
..1..
=======
LEGEND
=======
P = GuyNothing and Sand
. = Water
S = Sand
G = DarkGrass
T = Tree and DarkGrass
R = Rock and Sand
O = Rock and DarkGrass
A = Axe and DarkGrass
L = Pickaxe and DarkGrass
Player = GuyAxe or GuyNothing or GuyPickaxe
Thing = Rock or Tree
=======
SOUNDS
=======
Player move 55155107
Rock move 34823707
sfx0 71976102
================
COLLISIONLAYERS
================
Background
Sand, DarkGrass
Axe, Pickaxe
Rock, Water, Player, Tree
======
RULES
======
[ > Player | Rock ] -> [ > Player | > Rock ]
[ Action GuyNothing Axe ] -> [ GuyAxe DarkGrass ] message Got axe.
[ Action GuyNothing Pickaxe ] -> [ GuyPickaxe DarkGrass ] message Got pickaxe.
[ Action GuyAxe | Tree ] -> [ > GuyAxe | DarkGrass ] sfx0
[ Action GuyPickaxe | Rock ] -> [ > GuyPickaxe | DarkGrass ] sfx0
[ Action GuyPickaxe | no Thing ] -> [ Pickaxe | GuyNothing ] message Dropped pickaxe.
[ Action GuyAxe | no Thing ] -> [ Axe | GuyNothing ] message Dropped axe.
==============
WINCONDITIONS
==============
=======
LEVELS
=======
message This is a sandbox game.
message With the exact same map every time you play.
message So i warn you.
message Press ACTION to interact with things.
..........................................
..........................................
..........................................
......................ss..................
.....................ssss.................
.....................srsss................
....................ssspsss...............
...................sssssssrs..............
..................ssggogttsss.............
.................ssgttggttggsss...........
................ssggttggttggggss..........
...............ssgggttgggggggggss.........
.............sssgttttttgtttttgggss........
.........sssssgggtttttggggtttgggsss.......
........ssssggggttttggggggtttgggssrs......
......ssssgggtggttttgggggtttggggsrsss.....
......ssgggggttggttgogggtttgggggssss......
......ssgggggttggggggggtttgggggsss........
.....ssggggggtttggogggtttggggsss..........
.....ssggggggggggggggttttggggss...........
.....ssggggggggggggttttttgggsss...........
.....ssggogggggggggtttttggggss............
.....rsgggggggggggttttttggggss............
.....ssggggggggggggttttgggggss............
.....ssgggggggggggggggggggggss............
.....sggggttttttgggggoooggggss............
.....sgggttttttttggggooooggss.............
.....ssgggtttttttgggggoogggss.............
.....ssgggggtttttttgggggggggs.............
.....sssggggggggggglgggggggss.............
.....sssggggggggggggggggggggs.............
......ssggtttgggggtttgggggss..............
......ssgggggggggtttttgggs................
......srssssssssggggggggss................
........sssssssssssssssss.................
................sssssss...................
..........................................
..........................................
..........................................
..........................................
..........................................
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment