pygame is
Simple DirectMedia Layer is
Site Swing

BubblePaint - 0.1.3

Eric Pavey (akeric)



I authored this while teaching myself PyMunk. In a nutshell, it’s a simple ‘paint program’ using 2d physics.

  • You ‘paint’ with ‘bubbles’ that collide with each other.
  • Colors of bubbles and the background are adjustable, gravity can be turned on and off, bubbles can be "dried" and painted on top of.
  • Size and number of bubbles painted with is adjustable, with the documentation\stats on a toggleable layer.
  • Saving of images is available, and the window is resizable.

See the homepage for full list of features and directions. Built with Python 2.6.2, PyGame 1.9.1, and PyMunk 0.8.4, the Windows zip has a ready to go executable.


Home Page:


click to view original size


BubblePaint - 0.2.1 - Oct 11, 2009
BubblePaint - 0.1.3 - Sep 15, 2009 account Comments

If you wish to leave a comment with your account, please sign in first.

August 9, 2010 1:39pm - Eric Pavey - nickname: (akeric)
Dan: Sorry, I'm only able to test this on PC :(
Claudiu : Looks like it needs to be in 24-32 bit for scaling operations to work. Need to use 32-bit imagery to get the correct transparency for the brushes.
June 28, 2010 4:30pm - Dan Ross - nickname: (dsr)
I get the following on Mac OS X running Snow Leopard when I try to start the game:

Starting BubblePaint
Running Python version: 2.6.5 (r265:79359, Mar 24 2010, 01:32:55)
[GCC 4.0.1 (Apple Inc. build 5493)]
Running PyGame version: 1.9.1release-svn2575
Running PyMunk version: 1.0.0
Running BubblePaint version: 0.2.1
2010-06-28 15:28:44.644 Python[3832:613] Warning once: This application, or a library it uses, is using NSQuickDrawView, which has been deprecated. Ap
ps should cease use of QuickDraw and move to Quartz.
Traceback (most recent call last):
File "", line 857, in <module>
File "", line 692, in main
brush = BubbleBrush(screen, backgroundLayer.surface, space, colorPaint, bubbleGroup)
File "", line 239, in __init__
self.brushes = getBrushes()
File "", line 629, in getBrushes
subdirList =[1]

I also have to change the font to a pygame.font.SysFont, btw.
December 29, 2009 8:44pm - Claudiu B - nickname: (claudiu725) - 5/5
nice game, 5*

gives an error if i play it under 16 bits, then quits... u might wanna look into it

Traceback (most recent call last):
File "D:\My Documents\Downloads\bubblePaint_0_2_1\bubblePaint_0_2_1\", line 857, in <module>
File "D:\My Documents\Downloads\bubblePaint_0_2_1\bubblePaint_0_2_1\", line 828, in main
backgroundLayer.surface = blurSurf(backgroundLayer.surface, DRYBLUR)
File "D:\My Documents\Downloads\bubblePaint_0_2_1\bubblePaint_0_2_1\", line 645, in blurSurf
surf = pygame.transform.smoothscale(surface, scale_size)
ValueError: Only 24-bit or 32-bit surfaces can be smoothly scaled
October 12, 2009 11:09pm - John Grissom - nickname: (grind3r) - 5/5
I love it, I played with it for nearly a hour

our projects welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
recent releases
Feb 21, 2017

Jan 31, 2017

Jan 24, 2017

Jan 18, 2017

Jan 7, 2017

Dec 30, 2016

Dec 8, 2016

Nov 28, 2016

Nov 27, 2016

... more!
for pygame related questions, comments, and suggestions, please see help (lists, irc)