Skip to content

Instantly share code, notes, and snippets.

@jayrbolton
Created January 29, 2021 04:15
Show Gist options
  • Save jayrbolton/dfbd18cee8efed7c233c6e9fa75ec8e9 to your computer and use it in GitHub Desktop.
Save jayrbolton/dfbd18cee8efed7c233c6e9fa75ec8e9 to your computer and use it in GitHub Desktop.
Replicat Sketchworld (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Replicat Sketchworld
author JRB
homepage www.jayrbolton.com
========
OBJECTS
========
Background
#19212e
00000
00000
00000
00000
00000
gblock_inactive
#32a852
00000
00000
00000
00000
00000
gblock
#7ad693
00000
00000
00000
00000
00000
east_g
#7ad693
.....
..00.
0000.
..00.
.....
east_g_p
#7ad693 white
1...1
..00.
0000.
..00.
1.0.1
west_g
darkgreen lightgreen
00100
01000
11111
01000
00100
north_g
#7ad693
..0..
.000.
00000
..0..
..0..
north_g_p
#7ad693 white
1.0.1
.000.
00000
..0..
1.0.1
south_g
#7ad693
..0..
..0..
00000
.000.
..0..
south_g_p
#7ad693 white
1.0.1
..0..
00000
.000.
1.0.1
Wall
gray darkgray lightgray
22222
10002
10002
10002
11111
=======
LEGEND
=======
Player = east_g_p or south_g_p or north_g_p
west_gs = west_g
west = west_gs
north_gs = north_g or north_g_p
north = north_gs
south_gs = south_g_p or south_g
south = south_gs
east_gs = east_g_p or east_g
east = east_gs
arrow_g = east_gs or north_gs or west_gs or south_gs
arrow = east or south or north or west
gblocks = gblock or gblock_inactive
block = gblocks
. = Background
# = Wall
pushable = arrow
(Nonsense)
0 = east_g_p
1 = gblock
2 = gblock_inactive
3 = east_g
4 = south_g
5 = south_g_p
6 = north_g
7 = north_g_p
(For rules)
move_east_g = gblocks or arrow_g
move_south_g = gblocks or arrow_g
move_north_g = gblocks or arrow_g
=======
SOUNDS
=======
TitleScreen 95827509
Undo 62574100
Restart 43125100
EndLevel 27943900
StartGame 39983709
Startlevel 97606105
sfx0 99951102
sfx1 63582302
================
COLLISIONLAYERS
================
Background
player, Wall, pushable, block
======
RULES
======
(Push any number of blocks)
[ > player|pushable] -> [> player|> pushable]
startloop
[ > pushable|pushable] -> [> pushable|> pushable]
endloop
late right [move_east_g|east_gs]->[move_east_g|move_east_g]
late up [south_gs|move_south_g]->[move_south_g|move_south_g]
late up [move_north_g|north_gs]->[move_north_g|move_north_g]
(green connection)
late [gblock|gblock_inactive]->[gblock|gblock]
==============
WINCONDITIONS
==============
no gblock_inactive
=======
LEVELS
=======
(templates
##########
#........#
#........#
#........#
#........#
#p.......#
##########
)
message 1 of X: Green to green
##########
#........#
#..1..2..#
#........#
#..0..0..#
#........#
##########
message Good job
message 2 of X: Anyone can change
##########
#........#
#..1..2..#
#........#
#..3..0..#
#........#
##########
message Well done
message 3 of X: Networking is the key to success
#########
#1......#
#.4.....#
#..4....#
#...5...#
#..4....#
#.4.....#
#2......#
#########
message A fine show!
message 4 of X: One is twenty, the other is one more than nineteen
#########
#1......#
#.3.....#
#..3....#
#...5...#
#..3....#
#.3.....#
#2......#
#########
message Straight to the point!
message 5 of X: Nothing for narrow-mindedness
#########
#1...02##
#...#####
#....####
#.3.3.###
#......##
#...3...#
#.......#
#########
message A strong display!
message 6 of X: A turn of the gearsa
#########
#1...02##
#...#####
#....####
#.....###
#.4.4..##
#...7...#
#.......#
#########
message What a feat!
message 7 of X: An iron ring made of wood
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment