pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
BubblePaint

BubblePaint - 0.2.1

Eric Pavey (akeric)

Tags:

Description

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.

Changes

For list of features and improvements, please see its homepage: http://www.akeric.com/blog/?page_id=659

Links

Home Page: http://www.akeric.com/blog/?page_id=659
Source: http://www.akeric.com/python/bubblepaint/bubblePaint_0_2_1.py
Windows: http://www.akeric.com/python/bubblepaint/bubblepaint_0_2_1.zip

Screenshot


click to view original size

Releases

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

Pygame.org account Comments

If you wish to leave a comment with your pygame.org 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 "bubblePaint_0_2_1.py", line 857, in <module>
main()
File "bubblePaint_0_2_1.py", line 692, in main
brush = BubbleBrush(screen, backgroundLayer.surface, space, colorPaint, bubbleGroup)
File "bubblePaint_0_2_1.py", line 239, in __init__
self.brushes = getBrushes()
File "bubblePaint_0_2_1.py", line 629, in getBrushes
subdirList = sub.next()[1]
StopIteration

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\bubblePaint_0_2_1.py", line 857, in <module>
main()
File "D:\My Documents\Downloads\bubblePaint_0_2_1\bubblePaint_0_2_1\bubblePaint_0_2_1.py", line 828, in main
backgroundLayer.surface = blurSurf(backgroundLayer.surface, DRYBLUR)
File "D:\My Documents\Downloads\bubblePaint_0_2_1\bubblePaint_0_2_1\bubblePaint_0_2_1.py", 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
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Sep 29, 2014

Sep 19, 2014

Sep 17, 2014

Sep 9, 2014

Sep 8, 2014

Sep 7, 2014


Sep 5, 2014

Aug 26, 2014

Aug 21, 2014


Aug 18, 2014

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