trying to make and add music, frustrating results...
Today i spent my time on trying to make some music for the game - so frustrating... - my idea were try to add some kind of .s3m module (made with ModPlugTracker on Wine) of jazz electric-bass solo (a bit like music from Jaco Pastorius or Victor Wooten), but the result of my tries really sucks... :( (sounding too hard, and lacking subtilities) - it's really hard to add some interesting atmosphere with a music doesn't annoy - i'm almost forgetting the idea on adding music or sound in that... :( - but anyway, my game submition were downloadable here since monday, be welcome commenting! :)(log in to comment)
Comments
try to replace line 139 (or close):
pygame.display.flip();pygame.time.delay(1000/100)
to
pygame.display.flip();pygame.time.delay(1000/50)
and tell if you feel some difference...
otherwise, on the same Ubuntu-Linux (i386 9.04) it here performs in the same speed (not that shockingly fast i saw on OSX) on the core2duo@1.85 ghz as on the pentium4@2ghz
please note i'm still very Pygame and Python newbie, and of course i'd appreciate more testing and bug solution ideas! :)
pygame.time.Clock instance, if you're not already doing that.
To set the (maximum) framerate, you should be calling the tick() method on a You're welcome! :)
@Cosmologicon, @Cyhawk - thanks all the feedback!- you know, it's my very first Pyweek entry! :)
otherwise, it seems some people are having problems on fullscreen display, so i added a bugfix for toogling the fullscreen: search from '# keyboard' in the code, and add this line below:
if key[pygame.K_LALT] and key[pygame.K_RETURN]:pygame.display.toggle_fullscreen()
cyhawk on 2009/09/08 21:12:
The game is shockingly fast on my computer. Please tell me it is a bug! :)