Skip to main content

PyBubbles - 2.5 Dimension

Just a very simple (and useless) python script. You "could" call it artistic as it's basically a keyboard-controlled interactive animation. May help some people to understand pygame animation. Requires the pygame library. Controls: a,q,s,w,d,e,f,r,g,t, arrows.


Pawel Krawczak
(diavel)

http://www.youtube.com/watch?v=JCEp7I_AeFM

Just a very simple (and useless) python script. You "could" call it artistic as it's basically a keyboard-controlled interactive animation. May help some people to understand pygame animation. Requires the pygame library.

Controls: a/q - decrease/increase red opacity in background
s/w - decrease/increase green opacity in background
d/e - decrease/increase blue opacity in background
f/r - remove/add bubbles (kills fps quick)
g/t - decrease/increase bubble size
up/down - increase/decrease vertical movement
right/left - increase/decrease horizontal movement
Colours of bubbles are chosen randomly and are constantly randomly changing (+-10) between 0 and max value which is set by asd/qwe keys.

 

There is also 2.5Dimension version with different controls and somewhat 3D spacce.

Changes

My first attempt to make something 3D in pygame. It's actually 3D but:

- space is projected on a plane instead of a sphere (perspective only works to some extent)

- objects are not sorted by distance (far objects overlap near objects sometimes)

- camera doesn't rotate

 

Controls:

- arrows (horizontal movement)

- T, G (vertival movement)

- TAB - show/hide text info

Links

Home Page
http://pybubbles.sourceforge.net/
Source
http://sourceforge.net/projects/pybubbles/files/bubbles2_5d_release.py/download

Releases

PyBubbles 2.5 Dimension — 27 Nov, 2010

PyBubbles pre-alpha ? — 24 Nov, 2010

Pygame.org account Comments