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

Jetblade - .01

Chris Weisiger (derakon)

Tags:

Description

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.

Links

Home Page: http://code.google.com/p/jetblade/
Source: http://code.google.com/p/jetblade/source/checkout

Screenshot


click to view original size

Releases

Jetblade - .01 - Jul 21, 2009

Pygame.org account Comments

If you wish to leave a comment with your pygame.org 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/map.py", line 877
pygame.draw.circle(screen, 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/jetblade.py", line 290, in <module>
cProfile.run('run()', 'profiling.txt')
File "/usr/lib/python2.6/cProfile.py", line 29, in run
prof = prof.run(statement)
File "/usr/lib/python2.6/cProfile.py", line 135, in run
return self.runctx(cmd, dict, dict)
File "/usr/lib/python2.6/cProfile.py", line 140, in runctx
exec cmd in globals, locals
File "<string>", line 1, in <module>
File "/home/jerome/jetblade/jetblade.py", line 92, in run
gameLoop()
File "/home/jerome/jetblade/jetblade.py", line 253, in gameLoop
jetblade.draw(zoomLevel, cam, timeAccum / physicsUpdateRate)
File "/home/jerome/jetblade/jetblade.py", line 276, in draw
jetblade.map.drawBackground(jetblade.screen, drawLoc, progress)
File "/home/jerome/jetblade/map.py", line 948, in drawBackground
self.backgroundQuadTree.draw(screen, cameraLoc, progress)
File "/home/jerome/jetblade/quadtree.py", line 133, in draw
child.draw(screen, camera, progress, scale)
File "/home/jerome/jetblade/quadtree.py", line 133, in draw
child.draw(screen, camera, progress, scale)
File "/home/jerome/jetblade/quadtree.py", line 133, in draw
child.draw(screen, camera, progress, scale)
File "/home/jerome/jetblade/quadtree.py", line 133, in draw
child.draw(screen, camera, progress, scale)
File "/home/jerome/jetblade/quadtree.py", line 130, in draw
object.draw(screen, camera, progress, scale)
File "/home/jerome/jetblade/prop.py", line 25, in draw
self.sprite.draw(screen, camera, progress, scale)
File "/home/jerome/jetblade/sprite.py", line 108, in draw
self.animations[self.currentAnimation].draw(screen, camera, drawLoc, scale)
File "/home/jerome/jetblade/animation.py", line 90, in draw
jetblade.imageManager.drawGameObjectAt(screen, surface, drawLoc, camera, scale)
File "/home/jerome/jetblade/imagemanager.py", line 67, in drawGameObjectAt
drawLoc = util.adjustLocForCenter(loc, center, screen.get_rect())
File "/home/jerome/jetblade/util.py", line 84, in adjustLocForCenter
return adjustLocForRect(loc, rect)
File "/home/jerome/jetblade/util.py", line 75, in adjustLocForRect
result = Vector2D(loc.x - rect.topleft[0], loc.y - rect.topleft[1])
AttributeError: 'int' object has no attribute 'x'
spotlight

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

Oct 16, 2014

Oct 9, 2014

Oct 8, 2014

Oct 7, 2014

Oct 4, 2014

Oct 1, 2014

Sep 19, 2014

Sep 17, 2014

Sep 9, 2014

Sep 8, 2014

Sep 7, 2014

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