C# Game Development

BOMBER-MAN

super-bomberman-usa.new.png

Hola! so this is our first game and it’s easy to made and good for starting. Most games in the Bomber-man franchise largely revolve around two modes of play, single player campaigns where the player must defeat enemies and reach an exit to progress through levels, and other are multiplayer modes where players must attempt to eliminate each other and be the last one standing. But for the sake of our understanding and developing our interest we are making single player one. You can get this project from the link given below or click on Bomber-Man image.
https://github.com/syedMohib44/Developers-void

Note: This project is following POP (Procedure Oriented Programming).


Links To Get Help From:

These links aren’t necessary because you have got all the things in the Project, but these link will help you when you will make your own projects. For now just download the Project and try to get the logic step by step (Debug it).

  1. https://opengameart.org (For images )
  2. https://www.freelogoservices.com (For logo so you can desgin you own logo)
  3. http://gifmaker.me (For making Gif images)

Things I have Done In Project:

For Forms:

There are 5 Forms (1 is your Map, 2 is your Home page, 3 is about, 4 is for controls, 5 is for high score). There is a problem you must have to make home page first because when you open an application home page should appear first on screen you never saw an option screen appearing first. If you may face some problem like this you need to go to program.cs in solution explorer and change the red circle from Form 2 to whatever form you wanna start first, I have done the same mistake so I have set Form 2 to open first because that’s my home page.

changeform

For GUI:

Form 1.png

I have placed around 35 Picture Boxes for (blocks, breakable blocks, enemies, player, bomb, bomb’s explosion and pause screen). You can get them by clicking on Toolbox then in search box search write Picture box. You will also notice a label which has text Pause this must be placed on the pause picture and remember that you must placepause picture first and then the label other-wise Pause text will not appear when we pause the game because “Pause picture is hiding it” so remember these things when you are developing. There is also Score Label which shows your current score and Life Picture boxeswhich are overlapped one on another when a player dies the picture box which is on front hides and beneath one is shown. You may also notice there is no image player and enemies because images are added programmatically for animation.

For Controls:

To start with Timer I have used 11 Timers (1 for Bomb, 1 for Explosion, 5 for Enemies and five for animation of player movement). I haven’t done any animation for enemies so I put that thing on you so you can try and learn just follow the steps I had done and remember there are many ways for animation you can also run a loop, so try to do something different make you own logic because this is the only way you can learn otherwise what’s the point you are only coping it. So again to the topic. I have made a method stopall( ) which stops all the timer you may want to use it on pause or when your player is dead. There is a method name life( ) which checks that how much life you have (if you are dead thrice the game will over and Message will appear “You Suck”). The rest of the work is done on auto generated methods.


Note: If You Guys may face any problem to understand code feel free to ask me you can contact me on e-mail. Just go to my contact page and you will find my e-mail ID.


FIN


Leave a comment