Skip to content

Instantly share code, notes, and snippets.

@aiwass1337
Created May 1, 2025 17:29
Show Gist options
  • Save aiwass1337/27e23a27825e844e84198c8ae596fdc2 to your computer and use it in GitHub Desktop.
Save aiwass1337/27e23a27825e844e84198c8ae596fdc2 to your computer and use it in GitHub Desktop.
Back to the Hive (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
title Back to the Hive
author Emirhan Bayram & Furkan Berk Durmuş
homepage www.puzzlescript.net
background_color green
text_color orange
========
OBJECTS
========
Player
yellow black white
.101.
.000.
21112
.010.
.010.
Enemy
yellow red white
.101.
.000.
21112
.010.
.010.
Background
#4EBC46 #229443
10101
01010
10101
01010
10101
Target
#ffff00 #e6c900 #ffff8f
.111.
10001
10201
10001
.111.
Wall
#541d29 #783a29 #86482f
01201
20120
12012
01201
20120
Flower1
#FF69B4 #7b3f00 white
.000.
.020.
.000.
..1..
..1..
Flower2
blue #7b3f00 white
.000.
.020.
.000.
..1..
..1..
Flower3
purple #7b3f00 white
.000.
.020.
.000.
..1..
..1..
Flower4
red yellow #7b3f00 white
.101.
.030.
.101.
..2..
..2..
Flower5
orange #7b3f00 white
.000.
.020.
.000.
..1..
..1..
Flower6
darkbrown #7b3f00 white
.000.
.020.
.000.
..1..
..1..
Flower7
lightblue #7b3f00 white
.000.
.020.
.000.
..1..
..1..
=======
LEGEND
=======
a = Player
b = Background
c = Target
z = Wall
l = Flower1
m = Flower2
n = Flower3
o = Flower4
p = Flower5
r = Flower6
s = Flower7
q = Enemy
Flowers = Flower1 or Flower2 or Flower3 or Flower5 or Flower6 or Flower7
=======
SOUNDS
=======
sfx0 64045300 (collect)
sfx1 6767702 (lose)
(sfx2 15096300 (warning))
EndLevel 25907900 (win)
================
COLLISIONLAYERS
================
Background
Flower1, Flower2, Flower3, Flower5, Flower6, Flower7
Player,Enemy, Wall, Target, Flower4
======
RULES
======
[ > Player | Flowers ] -> [ > Player | > Flowers ]
[ < Player | Flowers ] -> [ < Player | < Flowers ]
[ Stationary Enemy ] -> [ randomDir Enemy ]
[ Enemy | ... | Player ] -> [ > Enemy | ... | Player ]
[ > Flowers | Flowers ] -> [ > Flowers | > Flowers ]
late [ Target Flowers ] -> [ Target ] sfx0
[ > player | flower4 ] -> RESTART sfx1
[ > Enemy | flower4 ] -> [ | Flower4]
[ > player | Enemy ] -> RESTART sfx1
==============
WINCONDITIONS
==============
no Flowers
=======
LEVELS
=======
MESSAGE Level 1/10
zzzzzzzzzzz
zbbbbbbbbcz
zbbbbbbbbbz
zbbbbbbbbbz
zbbbbbbbbbz
znblabbbbbz
zbbbbbbbbbz
zbbbbbpbbbz
zbbbbbbbbbz
zbbbbqbbbbz
zzzzzzzzzzz
MESSAGE Level 2/10
zzzzzzzzzzz
zqbbbbbbbcz
zbbbbbbbbbz
zbbzbbbbbbz
zbblzbbbbbz
zbbbbzbbbbz
zbbbbnzmbbz
zbbbbbbzbbz
zbbbbbbbbbz
zabbbbbbbbz
zzzzzzzzzzz
MESSAGE Level 3/10
zzzzzzzzzzz
zqbbbbbbbcz
zbbzbbbbbbz
zbbzznbbobz
zbblzzbbbbz
zbbbbzzbbbz
zbbbbbzzbbz
zbbbbbpzzbz
zbbbbbbbzsz
zabbbbbbbbz
zzzzzzzzzzz
MESSAGE Level 4/10
zzzzzzzzzzz
zqbbbbbbbbz
zbzbbbbbzbz
zbzlzbzmzbz
zbzzzozzzbz
zbbbocobbbz
zbzzzbzzzbz
zbznzbzpzbz
zbzbbbbbzbz
zabbbbbbbbz
zzzzzzzzzzz
MESSAGE Level 5/10
zzzzzzzzzzzzz
zqbbbbbbbbbcz
zblbbbbbbrbbz
zbbbbbbbbbbbz
zbozbzbzbzobz
zbbbbmbbbbbbz
zbzbzbzbzbzbz
zbbbobbnbbbbz
zbbzbzbzbzbbz
zbbbbbbbbbbbz
zbpbbbbbbsbbz
zabbbbbbbbbbz
zzzzzzzzzzzzz
MESSAGE Level 6/10
zzzzzzzzzzzzz
zlbbbqzbbbbmz
zbbbbbzobbbbz
zbbbbbzzbbbbz
zbbbbbbbbbbbz
zbozbbobbbbpz
zzzzbbcbbzzzz
zrbbbbbbbzobz
zbbbbbbbbbbbz
zbbbbzzbbbbbz
zbbbbbzbbbbbz
znbbbbzsbbbaz
zzzzzzzzzzzzz
MESSAGE Level 7/10
zzzzzzzzzzzzz
zlbbbbbbbbbmz
zbbbbbbbbbbbz
zbbzbbobbzbbz
zbbszbbbzrbbz
zbbbbbbbbbbbz
zbbobqcqbobbz
zbbbbbbbbbbbz
zbbbzbbbzbbbz
zbbzbbobbzbbz
zbbbbbbbbbbbz
zpbbbbabbbbnz
zzzzzzzzzzzzz
MESSAGE Level 8/10
zzzzzzzzzzzzz
zqbbbbobbbbsz
zbzbbbbbbzzbz
zbzlbbbzzmbbz
zbbzbbbzbbbbz
zbbzzbbbbbbbz
zobbbqcbbbboz
zbbbbbbbzzbbz
zbbbbzbbbzbbz
zbbpzzbbbnzbz
zbzzbbbbbbzbz
zrbbbbobbbbaz
zzzzzzzzzzzzz
MESSAGE Level 9/10
zzzzzzzzzzzzz
zbblbbbbbmbbz
zbzozbbbzozbz
zbooobobooobz
zbzozbbbzozbz
zbbbbbqbbbbbz
zrbbbqcqbbbsz
zbbbbbbbbbbbz
zbzozbbbzozbz
zbooobobooobz
zbzozbbbzozbz
zbbnbbbbbpbaz
zzzzzzzzzzzzz
MESSAGE Level 10/10 FINAL
zzzzzzzzzzzzzzz
zbbbbbbbbbbbbbz
zbzozbbbbbzozbz
zbbzbbzozbbzbbz
zbblbbbbbbbmbbz
zbbbbbbbbbbbbbz
zbbbbbqbqbbbbbz
zszozozczozozrz
zbbbbbqbqbbbbbz
zbbbbbbbbbbbbbz
zbbnbbbbbbbpbbz
zbbzbbzozbbzbbz
zbzozbbbbbzozbz
zabbbbbbbbbbbbz
zzzzzzzzzzzzzzz
MESSAGE The End
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment