Skip to main content

BOMBR

Bomberman clone


Paul Paterson
(paulpaterson)

BOMBR is clone of Bomberman written in Python. Featuring five levels of chaotic bombing action against the smack-talking AI opponent.

What's New in v0.3

- Added new "heart" game items. You can now win by stealing the AI's hearts
- Added "capture the flag" game mechanic. Can now win by capturing and holding the flag
- Random items now added to the maze every so often
- Start screen shows all the items in the game and what they do
- Added animation effects to scoring
- Continue to show smack talk when waiting to restart after game over

New in v0.2 - a random maze generator (see video for this in action)

I'm very interested in feedback on the gameplay and particularly the AI behaviour (ie let me know if you see it messing up!).

To help tune the AI, I implemented a "replay" feature. After a death press "r" and you will go into a replay screen where you can scroll backwards in time to see what the AI was doing when it died.

This isn't really a gameplay feature but it is very useful to spot AI bugs - if you spot any then please let me know!

Blast your way Fight the smack-talking AI Five levels of chaos

Links

Home Page
http://perpetualpyramid.com/drupal/?q=bombr_game

Releases

BOMBR 0.1 — 30 Nov, 2013

BOMBR 0.2 — 8 Jun, 2014

BOMBR 0.3 — 15 Jun, 2014

Pygame.org account Comments

  • Mekire 2013-12-01 02:55:51

    Very nice. That AI is infuriatingly difficult to kill though. Didn't notice any glitches save for perhaps the explosion remnants remain fatal longer than expected. Excellent particle effects. I recently tried to create good flame effects similar to your Extinguished game (but without using openGL) and found that I hit a performance wall very quickly.

    -Mek

    Paul Paterson 2013-12-01 16:16:02

    Thanks, this is great feedback - I find it really hard to tune these kind of games when it is only me playing because I play it so much during testing that I cannot tell if it is too easy or I am just getting better!

    I was wondering about the explosion remnants too. I originally had a static sprite there and when I switched to the particles I kept running into them and dying also. I will tune that to be a bit safer.

    I wonder if you could get that "OpenGL" flame effect using numpy? I suspect it will be hard because the effect is basically doing a gaussian blur on the entire screen. I did this in Subterrex using numpy but had to run this on a separate thread. With the fire effect this is going on every frame whereas for Subterrex it was going on just when you added a light so even though numpy is much faster than Python it cannot do it in parallel like the GPU can.

    Are there any libraries that let you use the GPU for math calculations from Python?

    Mekire 2013-12-02 01:15:33

    Hmmm. I was trying to do it using the rgb blending flag for blitting my particles.

    Here is my attempt:
    https://github.com/Mekire/pyga...

    It is quite unrefined as I stopped working on it after getting frustrated with performance.

    -Mek

    Paul Paterson 2013-12-04 23:51:39

    I really liked the fire effect. It was running at around 50FPS on my machine, which is not too bad. The effect looked a lot like the OpenGL one. I could definitely see that working well in a game.

  • g 2014-04-02 22:50:38

    gsgstsg

  • Platiborg 2014-06-16 20:21:52

    how you download it and run it?

    Paul Paterson 2014-06-16 22:33:07

    Click on the source link above (http://perpetualpyramid.com/dr... and then on the source download link (http://perpetualpyramid.com/bo.... This will download a zip file. Unzipping that will create a folder.

    Then do:
    python bombr.py

    From a terminal or command prompt when you are inside the folder that you unzipped.

    Platiborg 2014-06-18 15:13:41

    it doesnt work I do: python bombr.py in the cmd "command prompt" and it says:

    python: cant open file 'bombr.py': [Errno 2] No such file or directory

    P.S. what version of python and pygame does it work for. (im using python 3.3.3 and pygame 3.2)

    Paul Paterson 2014-06-19 02:30:27

    I realize you got it to work but in case anyone else was having the same questions,

    - yes, unzip / extract the ZIP file to get the folder and its contents
    - it requires Python 2.7 and the latest Pygame

    Thanks for working through the issues!

    Platiborg 2014-06-18 15:25:57

    Nvm I got it to work. Cool game BTW!

    Paul Paterson 2014-06-19 02:29:09

    Thanks! Glad you got it to work.

    Platiborg 2014-06-18 14:51:24

    ok

    Platiborg 2014-06-18 14:54:24

    when you say "unzipping" do you mean extracting?

  • Alex Sage 2014-07-05 17:56:30

    The games look old though... what's up with 80's like graphics??? Is it possible to make a game have better graphics with python?

    Adriano Fabris 2015-03-17 15:46:44

    Thats not 80s graphics for sure.

    Paul Paterson 2014-07-11 18:49:59

    Well, for this game, the 80's style graphics are deliberate both because it is intended to feel retro and also because my intent with the game was to focus on experiment with the AI playing and smack-talking.

    If you mean more generally then it depends what you mean by "better graphics" and what your end goal is? Browsing the games on this site or the Pyglet games sites will show many games with more colourful, more detailed, more animated graphics or more spectacular effects. In 2D games you can get impressive effects in Python if you have the right base artwork.

    If you mean 3D, lighting etc then you are going to run into limitations and complexity quickly if you do not start with a professional engine. Unity3d is a good starting point.

  • hi 2014-07-17 16:16:21

    hi