Skip to content

Instantly share code, notes, and snippets.

@Stingby12
Last active June 5, 2022 06:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Stingby12/c85bda5c323ce0ac8d24baa1a86bccad to your computer and use it in GitHub Desktop.
Save Stingby12/c85bda5c323ce0ac8d24baa1a86bccad to your computer and use it in GitHub Desktop.
Bomberkid Aventures - E1
title Bomberkid Adventures - E1
author Stingby12
homepage https://stingby12.itch.io/
background_color #0E0714
text_color #6B428F
again_interval 0.25
run_rules_on_level_start
level_select
level_select_lock
level_select_unlocked_ahead 2
level_select_solve_symbol X
========
OBJECTS
========
Init
purple
.....
.000.
.000.
.000.
.....
FloorRaw
#2E1842
Floor1
#2E1842 #6B428F
00000
00010
00100
01000
00000
(
00000
01010
00100
01010
00000
00000
00110
11100
00110
00000
)
Floor2
#2E1842 #6B428F
00000
01000
00100
00010
00000
(
00000
00100
01010
00100
00000
00000
00110
11100
00110
00000
)
Player
#3F9AF0 #1A61A350
.000.
01010
00000
01110
.000.
PlayerDying
#AD3426 #61140C50
.000.
01010
00000
01110
.000.
Autowin
transparent
Crate
#F0AB3A #A36D1750
00000
01110
01110
01110
00000
Ennemy
black #AD3426
.....
.000.
.010.
00000
0.0.0
Bomb0
transparent
Bomb1
#61140C #AD3426
.....
.000.
.010.
.000.
.....
Bomb2
#61140C #AD3426
.....
.000.
.010.
.000.
.....
Bomb3
#61140C #AD3426
.....
.000.
.010.
.000.
.....
Bomb4
#A36D17 #F0AB3A
.....
.000.
.010.
.000.
.....
BombExplo1
#F0AB3A
.0.0.
0.0.0
.0.0.
0.0.0
.0.0.
BombExplo2
#AD3426
.0.0.
0.0.0
.0.0.
0.0.0
.0.0.
BombExplo3
#61140C
.0.0.
0.0.0
.0.0.
0.0.0
.0.0.
BombUI
#61140C #AD3426
.....
.000.
.010.
.000.
.....
BombUIEmpty
#2E1842
.....
.....
.000.
.....
.....
BombUIEmpty2
#61140C
.....
.....
.000.
.....
.....
BombUIX
transparent transparent
.....
.000.
.010.
.000.
.....
FlagUnactive
#F0AB3A #AD3426
.011.
.0111
.011.
.0...
.0...
FlagActive
#F0AB3A #3F9AF0
.011.
.0111
.011.
.0...
.0...
FlagDying
#A36D17
0...0
.0.0.
..0..
.0.0.
0...0
FlagDestroyed
#A36D17
0...0
.0.0.
..0..
.0.0.
0...0
Void
#0E0714
WallRaw
#3F9AF0
00000
00000
00000
00000
00000
Protector
#F0AB3A
.....
.000.
.0.0.
.000.
.....
CrateProtector
#F0AB3A75
.....
.000.
.0.0.
.000.
.....
WallL
#61B3FF
0....
0....
0....
0....
0....
WallR
#61B3FF
....0
....0
....0
....0
....0
WallU
#61B3FF
00000
.....
.....
.....
.....
WallD
#61B3FF
.....
.....
.....
.....
00000
WallUL
#61B3FF
0....
.....
.....
.....
.....
WallUR
#61B3FF
....0
.....
.....
.....
.....
WallDL
#61B3FF
.....
.....
.....
.....
0....
WallDR
#61B3FF
.....
.....
.....
.....
....0
=======
LEGEND
=======
Background = FloorRaw or Floor1 or Floor2
Floor = Floor1 or Floor2
WallCoverBase = WallL or WallR or WallU or WallD
WallCoverCor = WallUL or WallUR or WallDL or WallDR
WallCover = WallCoverBase or WallCoverCor
Bombs = Bomb0 or Bomb1 or Bomb2 or Bomb3 or Bomb4
Explosion = BombExplo1 or BombExplo2 or BombExplo3
Flags = FlagUnactive or FlagActive
- = Void
. = FloorRaw
° = Init
# = WallRaw
% = WallRaw and Protector
P = Player
A = Player and Autowin
¤ = Ennemy
* = Crate
+ = Crate and CrateProtector
O = FlagUnactive
B = BombUI and Void
X = BombUIX and BombUI and Void
CantDrop = Bombs or Flags
CantDestroy = Protector or CrateProtector or Void
Destructible = WallRaw or WallCover or Crate
=======
SOUNDS
=======
startgame 74954908
closemessage 12669707
endlevel 74089700
Player Move 97906907
sfx0 29503700 (Flags collect)
sfx1 85471304 (Crate push)
sfx2 81951902 (Drop a bomb)
sfx3 98762304 (Tick)
sfx4 65790700 (Last tick)
sfx5 10268108 (Explosion)
sfx6 56173108 (Fail)
================
COLLISIONLAYERS
================
Background
Init
Autowin
Bombs
FlagUnactive, FlagActive
FlagDying
FlagDestroyed
Player, PlayerDying, Ennemy, WallRaw, Crate, Void
Protector, CrateProtector
WallL
WallR
WallU
WallD
WallUL
WallUR
WallDL
WallDR
BombUIEmpty
BombUIEmpty2
BombUI
BombUIX
BombExplo1
BombExplo2
BombExplo3
======
RULES
======
(Init - Floor pathern)
[Init FloorRaw] -> [Floor1]
[Floor1 | no Floor] -> [Floor1 | Floor2]
+[Floor2 | no Floor] -> [Floor2 | Floor1]
(Init - Walls)
late left [WallRaw no WallL | no WallRaw no Void] -> [WallRaw WallL | ]
late right [WallRaw no WallR | no WallRaw no Void] -> [WallRaw WallR | ]
late up [WallRaw no WallU | no WallRaw no Void] -> [WallRaw WallU | ]
late down [WallRaw no WallD | no WallRaw no Void] -> [WallRaw WallD | ]
late up [WallL | WallRaw] -> [WallL | WallRaw WallDL]
late down [WallL | WallRaw] -> [WallL | WallRaw WallUL]
late up [WallR | WallRaw] -> [WallR | WallRaw WallDR]
late down [WallR | WallRaw] -> [WallR | WallRaw WallUR]
(Player - Flags)
late [Player FlagUnactive no FlagDestroyed] -> [Player FlagActive] sfx0
(Player - Movement)
[> Player | WallRaw] -> cancel
[> Player | Void] -> cancel
[> Player | Bombs] -> cancel
(Player - Crates)
[> Player | Crate] -> [> Player | > Crate] sfx1
[> Crate CrateProtector] -> [> Crate > CrateProtector]
[> Crate | Crate] -> cancel
[> Crate | WallRaw] -> cancel
[> Crate | Void] -> cancel
[> Crate | Flags] -> cancel
[> Crate | Bombs] -> cancel
(Autowin)
[moving Player Autowin] -> [stationary Player] win
(Bombs - Spawn)
[action Player no CantDrop] [BombUI BombUIX] -> [Player Bomb0] [BombUIEmpty] sfx2
late [BombUI no BombUIX | BombUIEmpty] -> [BombUI BombUIX | BombUIEmpty]
late [BombUIEmpty] -> [BombUIEmpty2]
late [BombUIEmpty2] [Bombs] -> [BombUIEmpty] [Bombs]
late [BombUIEmpty2] [BombUI] -> [BombUIEmpty] [BombUI]
(Bombs - Ticks)
late [Bomb4] -> [BombExplo1] again sfx5
late [Bomb3] -> [Bomb4] sfx3 sfx4
late [Bomb2] -> [Bomb3] sfx3
late [Bomb1] -> [Bomb2] sfx3
late [Bomb0] -> [Bomb1]
(Bombs - Explosion)
late [WallCover] [BombExplo1] -> [] [BombExplo1]
late [BombExplo1 | no CantDestroy ] -> [BombExplo1 | BombExplo2] again
late [BombExplo2 | no BombExplo1 no CantDestroy ] -> [BombExplo2 | BombExplo3] again
late [Explosion Destructible] -> [Explosion]
late [Explosion Bombs] -> [Explosion Bomb4]
(Fail - Player)
late [Explosion Player] -> [Explosion PlayerDying] sfx6
[PlayerDying] -> [] message You exploded. [Press R to restart]
(Fail - Flags)
late [Explosion Flags] -> [Explosion Flags FlagDying] sfx6
[FlagDying] -> [FlagDestroyed] message Oh no ! [Press R to restart]
(Clear)
[Explosion] -> []
==============
WINCONDITIONS
==============
no FlagUnactive
no FlagDestroyed
no FlagDying
some Player
=======
LEVELS
=======
section 1/20 [Just touch flags]
message Bomberkid : Hi. I'm Bomberkid.
message Bomberkid : Wait, let me fix up the scenery.
message [Capture all flags on screen.]
-------------
-###########-
-#....°....#-
-#.........#-
-#.o..p..o.#-
-#.........#-
-#.........#-
-###########-
-------------
section 2/20 [Boom]
message Bomberkid : Much better.
message Bomberkid : I'm from BombLand, where I can freely place exploding bombs anyzhere I want.
message [Press X to drop bombs]
------------xb-
-#############-
-#..°..#.....#-
-#.....#.....#-
-#..p..#..o..#-
-#.....#.....#-
-#.....#.....#-
-#############-
---------------
section 3/20 [Use it wisely]
message Bomberkid : For each obstacle, I have a certain number of bombs to counter them.
message Bomberkid : Better not waste any of them.
------------xb-
-#############-
-#####.°.#####-
-#..##...##..#-
-#o.##.p.##.o#-
-#..##...##..#-
-#####...#####-
-#############-
---------------
section 4/20 [Quite risky]
message Bomberkid : My bombs are able to destroy anything.
message Bomberkid : Including myself and the flags.
message Bomberkid : I don't want to destroy the flags. There are severe fines about it.
-------x-
-#######-
-#..p.°#-
-#######-
-##ooo##-
-#######-
---------
section 5/20 [Wait for it]
message Bomberkid : I don't need to place bombs if I can't.
message Bomberkid : I can wait for them to explode.
message [A quick hint : You can't place bombs on bombs]
------xb-
-#######-
-###o###-
-#######-
-#######-
-#######-
-#°.p..#-
-#######-
---------
section 6/20 [Safe corner]
message Bomberkid : I'm curently in a quest to save my (girl)friend, Bombergirl.
-----xb-
-######-
-####o#-
-#..###-
-#°p#o#-
-#..###-
-####o#-
-######-
--------
section 7/20 [Around the block]
message Bomberkid : She has been captured by a villain.
message Bomberkid : This villain is know by his stupid name...
message Bomberkid : NukeEnjoyer.
-------xbb-
-#########-
-#########-
-#o.###..#-
-#o.#o#°p#-
-#o.###..#-
-#########-
-#########-
-----------
section 8/20 [Flags next to you]
message Bomberkid : NukeEnjoyer is the king of Nuke Valley, a wasteland where no one tried to enter it.
message Bomberkid : Well except me, I want to save my (girl)friend.
------xbb-
-########-
-#oo#####-
-#####o##-
-########-
-#.°.####-
-#op.##o#-
-#.o.##o#-
-########-
----------
section 9/20 [Indestructible]
message Bomberkid : NukeEnjoyer know how dangerous I am.
message Bomberkid : So he decided to place undestructive walls to block the explosions of bombs.
--------xb-
-#########-
-#°..%...#-
-#...%...#-
-#.o.%.p.#-
-#...%...#-
-#...%...#-
-#########-
-----------
section 10/20 [Protection formula]
message Bomberkid : But I don't care.
-----xb-
-##%%##-
-#%####-
-%°o%o#-
-%p.%o#-
-%..%o#-
-#%####-
-##%%##-
--------
section 11/20 [Cheesable level]
message Bomberkid : Do you really think an undestructible wall can stop me ?
------xbb-
-########-
-#.%###.#-
-#.%##%°#-
-#p###%o#-
-#.%##%.#-
-#.%###.#-
-########-
----------
section 12/20 [Confined]
message Bomberkid : It looks like NukeEnjoyer really hates me.
message Bomberkid : He always puts his flags zhere I can easely blow them up.
------xbb-
-########-
-########-
-##o##o##-
-###%%%##-
-##°.p.##-
-########-
----------
section 13/20 [Big arena]
message Bomberkid : This one looks pretty messy but that's fine.
message Bomberkid : That's probably fine.
message Bomberkid : Who were here before ?
-------xbb-
-#########-
-#o..#..p#-
-#.%%#%%.#-
-#.%#.##.#-
-###.#.###-
-#.%#.#%o#-
-#.%%#%%.#-
-#°o.#.o.#-
-#########-
-----------
section 14/20 [Pushing it]
message Bomberkid : Wait, why are there crates in my way ?
----------xb-
-###########-
-###o..*.###-
-#.*.o.###o#-
-#p*°o.#o#o#-
-#.*.o.###.#-
-###o..*.###-
-###########-
-------------
section 15/20 [Back to square one]
message Bomberkid : It's not like there would be anything usefull inside these crates...
message Bomberkid : I'll just blow them up, just like those walls.
-------xb-
-########-
-#p..o..#-
-#o****.#-
-#.*o.*o#-
-#.**o*.#-
-#.****.#-
-#..o..°#-
-########-
----------
section 16/20 [The crate pack tm]
message Bomberkid : Pushing crates is too boring.
message Bomberkid : At least these crates aren't undestructive.
--------xbb-
-%%######%%-
-%*****.o*%-
-#.*.o****#-
-#p****°°*#-
-#.*.o****#-
-%*****.o*%-
-%%######%%-
------------
section 17/20 [Oh no not the crates]
message Bomberkid : ...
message Bomberkid : I should have stop talked.
------xb-
-##%####-
-#.+.#o#-
-#.+.###-
-#p+°#o#-
-#.+.%##-
-#.+.#o#-
-##%####-
---------
section 18/20 [Fragile cover]
message Bomberkid : The one who had the idea to make this should be blown up.
------xbb-
-#%######-
-#.+*+*.#-
-#o+**+.#-
-#°+.+*p#-
-#o+**+.#-
-#.+*+*.#-
-#%######-
----------
section 19/20 [Gridd]
message Bomberkid : I think I saw the exit to Bombland.
-----xbb-
-#######-
-#*o+.*#-
-#o+°+o#-
-#+.*.+#-
-#.*p*.#-
-#+.*.+#-
-#.+.+o#-
-#*o+o*#-
-#######-
---------
section 20/20 [Exit 101]
message Bomberkid : Time to get out of here !
-----------xbbb-
-########%%%...-
-%%%%%%%%%**o..-
-%.*.+**.*+....-
-%p++*o+++*+*°o-
-%o+.+o*..+.*..-
-%%%%%%%%%.*o..-
-########%%%...-
----------------
section Ending
message Bomberkid : Finally, i'm outside this boring place !
message Bomberkid : Can't wait to bomb the crap out of NukeEnjoyer.
message Bomberkid : Wait a minute...
---------
-.......-
-....¤..-
-.......-
-.a.°.¤.-
-.......-
-....¤..-
-.......-
---------
message Guard 1 : Stop moving !
message Guard 2 : We know exactly what your doing !
message Guard 3 : Don't throw any bombs, they are uneffective to us lol
message Guard 1 : So you're going to prison...
message Guard 1 : ...or we will wait until we die of dehydration ?
°................
...###.###.##....
...#...#.#...#...
...###.###..#....
...#...#...#.....
...###.#...###...
.................
..##.###.###.##..
.#...#.#.#.#.#.#.
.###.#.#.#.#.#.#.
...#.#.#.#.#.#.#.
.##..###.###.#.#.
.................
(
message blank level
......
......
......
......
......
......
message blank level with init
°.....
......
......
......
......
......
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment