Skip to content

Instantly share code, notes, and snippets.

@thacuber2a03
Created September 3, 2020 01:17
Show Gist options
  • Select an option

  • Save thacuber2a03/140b8acadcb98e6e93e20d0b7a5163c5 to your computer and use it in GitHub Desktop.

Select an option

Save thacuber2a03/140b8acadcb98e6e93e20d0b7a5163c5 to your computer and use it in GitHub Desktop.
Copycat (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Copycat Beta
Author Tha Cuber
homepage thacuber.itch.io
require_player_movement
========
OBJECTS
========
Player
lightgray black pink
0...0
00000
01010
00200
00000
Background
gray
Block
#ff66ff #ff99ff #ffccff
22221
21110
21110
21110
10000
Wall
#666699 black #3333cc
02220
21112
21112
21112
02220
WallCheck
#666699 black #3333cc
02220
21112
21112
21112
02220
PushBlock
lightblue blue darkblue
00001
01112
01112
01112
12222
PushBlockReal
lightblue blue darkblue
00001
01112
01112
01112
12222
=======
LEGEND
=======
P = Player
. = Background
B = Block
O = PushBlock and PushBlockReal
L = Wall and WallCheck
=======
SOUNDS
=======
Player move 7537307
sfx0 90764703
sfx1 45155502
================
COLLISIONLAYERS
================
Background
WallCheck
PushBlock
Player, Block, Wall, PushBlockReal
======
RULES
======
late [ Block | Player | ] -> [ Block | Player | Block ]sfx0
[ Block | > Player | Block ] -> [ Block | > Player | ]
late [ | Player | Block ] -> [ Block | Player | Block ]sfx0
[ Block | > Player | Block ] -> [ | > Player | Block ]
[Block WallCheck ] -> [ Wall WallCheck]
[ > Player | PushBlock ] -> [ > Player | > PushBlock ]
late [ Block PushBlock ] -> [ Block Background ] sfx1
[ > PushBlock | Block ] -> [ PushBlock | Block ]
[ > PushBlock | Wall ] -> [ PushBlock | Wall ]
[ > Player | PushBlockReal ] -> [ > Player | > PushBlockReal ]
==============
WINCONDITIONS
==============
no Block
no PushBlock
=======
LEVELS
=======
message Warning: This game may confuse you.
message In Copycat, you are a cat (haha funny)
message And you can copy blocks getting in front of them.
message When you're in front of a block, another block will appear at a side
message or up or down- depends where you touch the block.
message To erase the new block, just walk into it.
message Try to erase all the blocks in this level.
message Hint: you can use the walls.
lllllllll
l.......l
l...b...l
l.......l
l.b.p.b.l
l.......l
l...b...l
l.......l
lllllllll
message There are blocks that you CAN'T actually copy, just push.
message Those blocks are blue. you will recgonize them already
message You will actually have to erase them too
message Yes, i'm a cruel gamedev.
lllllllllllll
l.....ll....l
l..b..ll.oo.l
l.....ll....l
l.....ll....l
l..p..ll....l
l.....ll....l
l...........l
l...........l
lllllllllllll
message Nothing else after here. Thanks for playing Copycat Beta!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment