Skip to content

Instantly share code, notes, and snippets.

@Francis-McKee
Last active December 18, 2023 05:00
Show Gist options
  • Save Francis-McKee/507b53e567d165b42b1f0acc7a03d721 to your computer and use it in GitHub Desktop.
Save Francis-McKee/507b53e567d165b42b1f0acc7a03d721 to your computer and use it in GitHub Desktop.
Zeeoban
title Zeeoban
author Francis McKee
level_select
continue_is_level_select
sprite_size 8
font_size 8
verbose_logging
mouse_left MouseClick
mouse_drag MouseDrag
========
OBJECTS
========
Background
white
Target
brown white
11111111
10000001
10111101
10100101
10100101
10111101
10000001
11111111
Wall
black
Player
Blue white black
00000000
00000000
02100210
01200120
00000000
00000000
01111110
00000000
Crate
brown white
00000000
00111100
01011010
01100110
01100110
01011010
00111100
00000000
Door
gray
HCrate
black white
00000000
01100110
01100110
01111110
01111110
01100110
01100110
00000000
VCrate
black white
00000000
01100110
01100110
01100110
01100110
00100100
00011000
00000000
ACrate
brown white red
00000000
01111110
01111110
01122110
01122110
01111110
01111110
00000000
RCrate
brown white blue
00000000
01111110
01111110
01122110
01122110
01111110
01111110
00000000
Bomb
black white darkblue brown
11111113
11100331
11020011
10222001
10020001
11000011
11100111
11111111
BreakableWall
gray black
00100010
11111111
10001000
11111111
00100010
11111111
10001000
11111111
Cursor
gray
000..000
0......0
0......0
...00...
...00...
0......0
0......0
000..000
DragTarget
pink
........
........
........
...00...
...00...
........
........
........
MouseClick
pink
0......0
.0....0.
..0..0..
...00...
...00...
..0..0..
.0....0.
0......0
MouseDrag
pink
0......0
.0.....0
..0....0
...0...0
....0..0
.....0.0
......00
00000000
DragBlock
pink
DragGoal
pink
00000000
0......0
0......0
0......0
0......0
0......0
0......0
00000000
=======
LEGEND
=======
BCrate = Crate or ACrate or RCrate
CCrate = HCrate or VCrate
. = Background
# = Wall
P = Player
* = Crate
T = Target
% = Door
H = HCrate
V = VCrate
+ = ACrate
- = RCrate
| = BreakableWall
@ = Bomb
^= DragBlock
& = DragGoal
=======
SOUNDS
=======
startgame 123413
Player cantmove 4123412
undo 123414
restart 123414
endlevel 123413
endgame 123413
sfx0 59778102
================
COLLISIONLAYERS
================
Background
MouseClick, MouseDrag
Target, DragGoal
Player, Wall, BCrate, Door, CCrate, BreakableWall, Bomb, DragBlock
DragTarget
Cursor
======
RULES
======
[ > Player | Crate ] -> [ > Player | > Crate ]
(Crate + Crate + Crate = middle Crate)
late [ crate | crate | crate ] -> [ | crate | ]
(Regular Door)
[ > Player | Door ] -> [ Player | ]
(Horizontal and Vertical crates)
horizontal [ > Player | HCrate ] -> [ > Player | > HCrate ]
vertical [ > Player | VCrate ] -> [ > Player | > VCrate ]
(Attract and Repel crates)
[ ACrate | Player ] -> [ > ACrate | Player ]
[ RCrate | Player ] -> [ < RCrate | Player ]
[ > Player | | RCrate ] -> [ > Player | | > RCrate ]
(Bomb and Breakable Wall)
[ > Player | Bomb ] -> [ > Player | > Bomb ]
[ action Player | Bomb | BreakableWall ] -> [ Player | | ] sfx0
(Whenever mouse is clicked, create cursor at that position)
[MouseClick] [Cursor] -> [MouseClick] []
[MouseClick] [DragTarget] -> [MouseClick] []
[MouseClick] -> [Cursor DragTarget]
(When mouse is dragged, actually add movement to cursor in this direction)
[Cursor] [DragTarget | MouseDrag] -> [> Cursor ] [ | DragTarget]
(Pass movement onto block rigidly, so they can't break apart. See documentation on Rigid Bodies for more info.)
rigid [> Cursor DragBlock] -> [> Cursor > DragBlock]
+ rigid [moving DragBlock | DragBlock] -> [moving DragBlock | moving DragBlock]
(Clean up for the start of the next turn, in case these were not cleaned up by the other rules)
[MouseClick] -> []
[MouseDrag] -> []
==============
WINCONDITIONS
==============
All Target on BCrate
All DragBlock on DragGoal
=======
LEVELS
=======
section Tutorial
message Tutorial
message You are the blue robot.
message Your goal is to push the brown boxes onto the brown target squares.
message Try it now!
#########
#.......#
#.......#
#.P*..T.#
#.......#
#.......#
#########
section Stage 1
message Stage 1
message 1-1: Get ready, here we go!
#########
#...P...#
#...*...#
#...#...#
#.......#
#...T...#
#########
message 1-2: Ready for a challenge?
#########
#....T..#
#....T..#
#....*..#
#.P..*..#
#.......#
#########
message 1-3: Remember what to do?
#########
#TP..*..#
#.*.....#
#.......#
#..T....#
#.......#
#########
message 1-4: Difficulty ramping up now!
#########
#.......#
#...*...#
#..#P##T#
#...*####
#......T#
#########
message 1-5: You've made it this far.
#########
#P.#....#
#.*#T...#
#..###..#
#.......#
#.*.T...#
#########
section Stage 2
message Stage 2
message 2-1: Subtraction by addition!
#########
#.......#
#.*..##.#
#.#*.*#.#
####.##.#
####T##P#
#########
message 2-2: 1+1+1=1
#########
#.......#
#.......#
#...#*.*#
#...#.*.#
#.T.#.P.#
#########
message 2-3: You're getting better.
#########
#...*...#
#...*..T#
#P*.....#
#...*..T#
#.......#
#########
message 2-4: Symmetry is key.
#########
#.......#
#..*.*..#
#*.....*#
#*.....*#
#T#.P.#T#
#########
message 2-5: Repetition.
#########
#.......#
#P*.....#
######*.#
#T.**.*.#
#.......#
#########
section Stage 3
message Stage 3
message 3-1: Knock knock!
#########
#.......#
#P*.....#
####%####
#.......#
#...T...#
#########
message 3-2: Doors can be opened.
#########
#.P.%...#
#...#**.#
#...%...#
#...#*..#
#.T.#...#
#########
message 3-3: Open the door!
#########
#...#...#
#P*.%...#
#####.*.#
#T....*.#
#.......#
#########
message 3-4: First things first.
#########
#T..#...#
#...#.*.#
#P*.%...#
#...#.*.#
#T..#.*.#
#########
section Stage 4
message Stage 4
message 4-1: One way!
#########
#...P...#
##..*...#
#TV...*.#
##..H...#
#..#T#..#
#########
message 4-2: I wonder what this does...
#########
#...#...#
#**.%...#
#%H.#.H.#
#...#.*.#
#.T.#.P.#
#########
message 4-3: Almost there...
#########
#.......#
#P*.V...#
####....#
#T.%**..#
#..#....#
#########
message 4-4: Work smarter, not harder.
#########
#.....*.#
#.*.#.P.#
##%#.####
#..*V%.T#
#....#..#
#########
message 4-5: You are smart, right?
#########
#.......#
#P*.V.*.#
#.......#
####..H.#
#T.%*...#
#########
message 4-6: Backtrack!
#########
#...#...#
#P*.%.**#
######%##
#...#...#
#T..%*.*#
#########
section Stage 5
message Stage 5
message 5-1: Attract and repel!
#########
#...P...#
#.-...-.#
#T..+..T#
####T####
####.####
#########
message 5-2: Opposites attract!
#########
#P.-.T#+#
#......T#
#%#####%#
#..*....#
#T.-.#.T#
#########
message 5-3: Take time to think. Dont forget about the undo button!
#########
#+...T.T#
#.###%###
#..#.H*.#
#.V%.*..#
#P.#.*..#
#########
message 5-4: Don't get too comfortable...
#########
#P.....+#
#.**.V*.#
##%#...T#
#...#####
#.*..T.T#
#########
message 5-5: Now for a bit of a challenge...
#########
#PT.##T##
#.*.#.-T#
#.H.%+%.#
##%#V.-.#
#T.**...#
#########
section Stage 6
message Stage 6
message 6-1: [action] = BOOM!
#########
#...|...#
#.*.|...#
#P..|...#
#.@.|...#
#...|..T#
#########
message 6-2: Don't worry, you can't get hurt by a bomb!
#########
#P.#....#
#.@#.*..#
##|###|##
#..@....#
#T......#
#########
message 6-3: The bomb only works on certain walls...
#########
#P..|..T#
#.@.#####
#...|*..#
#...|.@.#
#...|...#
#########
message 6-4: Some space might be beneficial here.
##########
#...#...P#
#...H..@.#
##V##....#
#...#....#
#..T#..-.#
##.##.#*##
#...#|#*##
#.*.%...##
##########
message 6-5: Controlled chaos.
##########
#T...#..+#
#.....V..#
#....#...#
#||#%##..#
#..#.@%..#
#..#%##.##
#.*#P..H.#
#..#T....#
##########
section Stage 7
message Stage 7
message 7-1: Cursor needed for this one.
##########
#........#
#.######.#
#.#....#.#
#.#.##.#.#
#.#.#..#.#
#.#.#&.#.#
#.#.####.#
#^#......#
##########
message 7-2: Move one thing to move another.
##########
#.....&&&#
#.T..|&.&#
#........#
#...##...#
#.@.##...#
#...##...#
#^^^##.*.#
#^P^.....#
##########
message 7-3: Block -> Target
##########
#T.*##..&#
#..*..*..#
#.#|..*###
#......@.#
#T*....+.#
###....###
#.*...V..#
#^...#..P#
##########
message 7-4: Block(s) -> Target(s). Same as before.
##########
#......^T#
#..@.*.^.#
##%#####%#
#.H...*..#
#....*...#
###|#.##|#
#.@..*##&#
#P...T##&#
##########
message Congrats! You beat the game!
message Thanks for playing!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment