pygame is
Simple DirectMedia Layer is
Site Swing

Jetblade - .01

Chris Weisiger (derakon)



Jetblade's goal is to bring roguelike-style procedural map generation to the 2D exploration-oriented platforming genre. It supports an extensive, highly moddable procedural map generation system with room for almost arbitrarily complex maps. The game is not remotely complete yet; right now it can make maps and you can explore them, but there's nothing actually in them and occasionally it'll make a one-way tunnel without realizing it. Contributions are welcome; Jetblade exists at least in part to give people a large project that they can contribute to while learning the ropes of software development.


Home Page:


click to view original size


Jetblade - .01 - Jul 21, 2009 account Comments

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

July 25, 2009 6:11pm - Chris Weisiger - nickname: (derakon)
Thanks! I'd switched some arguments around and accidentally was passing a scaling factor (a scalar) as a location (a vector). Whoops! Should be fixed now.
July 24, 2009 9:08pm - Anonymous - nickname: (pywiz32)
Mkay.. Ran it, got

Warning (from warnings module):
File "/home/jerome/jetblade/", line 877, seed.node.color, drawLoc, add)
DeprecationWarning: integer argument expected, got float
INFO: Done making map at 122694
INFO: 13393 of 53000 spaces are occupied for a 0.25% occupancy rate

Traceback (most recent call last):
File "/home/jerome/jetblade/", line 290, in <module>'run()', 'profiling.txt')
File "/usr/lib/python2.6/", line 29, in run
prof =
File "/usr/lib/python2.6/", line 135, in run
return self.runctx(cmd, dict, dict)
File "/usr/lib/python2.6/", line 140, in runctx
exec cmd in globals, locals
File "<string>", line 1, in <module>
File "/home/jerome/jetblade/", line 92, in run
File "/home/jerome/jetblade/", line 253, in gameLoop
jetblade.draw(zoomLevel, cam, timeAccum / physicsUpdateRate)
File "/home/jerome/jetblade/", line 276, in draw, drawLoc, progress)
File "/home/jerome/jetblade/", line 948, in drawBackground
self.backgroundQuadTree.draw(screen, cameraLoc, progress)
File "/home/jerome/jetblade/", line 133, in draw
child.draw(screen, camera, progress, scale)
File "/home/jerome/jetblade/", line 133, in draw
child.draw(screen, camera, progress, scale)
File "/home/jerome/jetblade/", line 133, in draw
child.draw(screen, camera, progress, scale)
File "/home/jerome/jetblade/", line 133, in draw
child.draw(screen, camera, progress, scale)
File "/home/jerome/jetblade/", line 130, in draw
object.draw(screen, camera, progress, scale)
File "/home/jerome/jetblade/", line 25, in draw
self.sprite.draw(screen, camera, progress, scale)
File "/home/jerome/jetblade/", line 108, in draw
self.animations[self.currentAnimation].draw(screen, camera, drawLoc, scale)
File "/home/jerome/jetblade/", line 90, in draw
jetblade.imageManager.drawGameObjectAt(screen, surface, drawLoc, camera, scale)
File "/home/jerome/jetblade/", line 67, in drawGameObjectAt
drawLoc = util.adjustLocForCenter(loc, center, screen.get_rect())
File "/home/jerome/jetblade/", line 84, in adjustLocForCenter
return adjustLocForRect(loc, rect)
File "/home/jerome/jetblade/", line 75, in adjustLocForRect
result = Vector2D(loc.x - rect.topleft[0], loc.y - rect.topleft[1])
AttributeError: 'int' object has no attribute 'x'

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

Jan 24, 2017

Jan 19, 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)