pygame is
Simple DirectMedia Layer is
Site Swing

RoboMinions - 1.2

Vamsi Krishna.V (gizmothunder)



A simple rhythm game where you type in the correct keys to kill the enemies and progress to next level.


Home Page:


click to view original size


RoboMinions - 1.2 - May 2, 2008 account Comments

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

November 8, 2008 11:14pm - Agustin Saldias - nickname: (harzens) - 4/5
Hey guys,

quick turn around, just edit this 3 lines (482,483,485) in :

self.bg1 = data.load_img(lines[3][:-1])

self.bg2 = data.load_img(lines[4][:-1])

self.bg3 = data.load_img(lines[5][:-1])

and change the [:-1] to [:-2], that should do the work :D

I liked the game, but I'm in a virtual machine right now (Virtual Xubuntu) and I don't have any sound, but I still liked it a lot =D
May 6, 2008 5:26am - Shiroku - nickname: (shiroku)
I found this solution:
- install tofrodos package (on (K)Ubuntu)
- open a shell
- change directory to .../RoboMinions-1.2/data
- run dos2unix l*.txt

In this way, all maps are converted from DOS to UNIX
May 5, 2008 5:00pm - James Paige - nickname: (jamespaige)

Anyway, I found the problem. You level data is stored in text files with DOS line endings. (CR/LF) but for whatever reason, the CR is still there when the g_backdrop.png line read from data/l1.txt gets passed to load_img()

Here is the patch that I used to work around the problem.

--- lib/ 2008-04-14 10:10:28.000000000 -0700
+++ lib/ 2008-04-14 10:10:40.000000000 -0700
@@ -32,7 +32,7 @@
return pygame.font.Font(os.path.join(data_dir, filename), size)

def load_img(filename):
- return pygame.image.load(os.path.join(data_dir, filename))
+ return pygame.image.load(os.path.join(data_dir, filename.strip()))

def get_fname(filename):
return os.path.join(data_dir, filename)
May 5, 2008 8:18am - Shiroku - nickname: (shiroku)
I can't play the game, this is the error:

fra@kubuntu:~/Desktop/RoboMinions-1.2$ python
Traceback (most recent call last):
File "", line 16, in <module>
File "/home/fra/Desktop/RoboMinions-1.2/lib/", line 740, in main
File "/home/fra/Desktop/RoboMinions-1.2/lib/", line 482, in load_level
self.bg1 = data.load_img(lines[3][:-1])
File "/home/fra/Desktop/RoboMinions-1.2/lib/", line 35, in load_img
return pygame.image.load(os.path.join(data_dir, filename))
pygame.error: Couldn't open data/g_backdrop.png
May 2, 2008 11:29pm - Jordan Trudgett - nickname: (tgfcoder) - 3/5
Hey, I've run into some problems. When it starts loading images defined in data/l*.txt, it tries to load "g_backdrop.png\n" for example. Which it does not find. You have to strip the lines when reading from a file.

After that, I got up to the level in the screenshot (and died)
Not a terribly addictive game, but good work! The graphics were quite amazing :)

our projects welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
recent releases
May 22, 2016

May 21, 2016

May 18, 2016

May 1, 2016

Mar 27, 2016

Mar 26, 2016

Mar 22, 2016

Mar 19, 2016

Mar 17, 2016

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