My own version of a popular old school 2D game Bomberman created with Unity engine (C#).
If you want to look inside of this project, you need to have Unity installed. If you have that, clone this repository to your computer and in Unity Hub select ADD
and choose the folder Bomberman
(this might vary depending on version). Then just open the created Bomberman project. If you want to play, select Menu
scene and click the play button in Unity Editor.
If you don't have Unity but still want to play, you can play in your browser here.
Each level is always created a bit differently thanks to the random spawns. For example, number of destructible tiles, number of enemies and the speed of enemies can be changed easily in the Unity Editor making creating and adjusting new levels easier.
More specific comments about functions and stuff can be found directly in scripts. Here's some basic information about each script.
Controls the object bomb.
Places bombs into the scene.
Controls enemy movement and logic.
Controls the object explosion.
Appears when player dies.
Controls the gate object where player has to go.
Randomly spawns objects to make levels not look the same every time.
Main menu control.
Destroys destructible tiles and spawns explosion objects.
Controls player movement and animation.