Sky Journey final

Huhh... It wasn't easy. There are many features we didn't have time to implement. Maybe we'll release them in a patch after the competiton. Rune drawing is a little difficult so be patient and follow the instuctions we gave. You'll succeed for sure and become a master wizard at the end of the game :)

(log in to comment)

Comments

hi... under winXP with python2.5 i got this error, probably because of umlaute or stuff. C:\Dokumente und Einstellungen\WartungsKonto\Desktop\sky_journey-1.0a\sky_journe y-1.0a>python run_game.py Traceback (most recent call last): File "run_game.py", line 12, in import main File "C:\Dokumente und Einstellungen\WartungsKonto\Desktop\sky_journey-1.0a\sk y_journey-1.0a\lib\main.py", line 17, in from Scene import * File "C:\Dokumente und Einstellungen\WartungsKonto\Desktop\sky_journey-1.0a\sk y_journey-1.0a\lib\Scene.py", line 16, in from MotionDetect import MotionDetect, Runes, MouseSampler File "C:\Dokumente und Einstellungen\WartungsKonto\Desktop\sky_journey-1.0a\sk y_journey-1.0a\lib\MotionDetect.py", line 3, in import runes File "C:\Dokumente und Einstellungen\WartungsKonto\Desktop\sky_journey-1.0a\sk y_journey-1.0a\lib\runes.py", line 17 SyntaxError: Non-ASCII character '\xe9' in file C:\Dokumente und Einstellungen\W artungsKonto\Desktop\sky_journey-1.0a\sky_journey-1.0a\lib\runes.py on line 17, but no encoding declared; see http://www.python.org/peps/pep-0263.html for detai ls
hi... under winXP with python2.5 i got this error, probably because of umlaute or stuff.
C:\Dokumente und Einstellungen\WartungsKonto\Desktop\sky_journey-1.0a\sky_journe
y-1.0a>python run_game.py
Traceback (most recent call last):
  File "run_game.py", line 12, in 
    import main
  File "C:\Dokumente und Einstellungen\WartungsKonto\Desktop\sky_journey-1.0a\sk
y_journey-1.0a\lib\main.py", line 17, in 
    from Scene import *
  File "C:\Dokumente und Einstellungen\WartungsKonto\Desktop\sky_journey-1.0a\sk
y_journey-1.0a\lib\Scene.py", line 16, in 
    from MotionDetect import MotionDetect, Runes, MouseSampler
  File "C:\Dokumente und Einstellungen\WartungsKonto\Desktop\sky_journey-1.0a\sk
y_journey-1.0a\lib\MotionDetect.py", line 3, in 
    import runes
  File "C:\Dokumente und Einstellungen\WartungsKonto\Desktop\sky_journey-1.0a\sk
y_journey-1.0a\lib\runes.py", line 17
SyntaxError: Non-ASCII character '\xe9' in file C:\Dokumente und Einstellungen\W
artungsKonto\Desktop\sky_journey-1.0a\sky_journey-1.0a\lib\runes.py on line 17,
but no encoding declared; see http://www.python.org/peps/pep-0263.html for detai
ls
Thank you! I've noticed this before but I didn't care because this is only a warning in python 2.4. Seem like it's an error in python 2.5 when you have accents in the COMMENTS! :) Arrrrghh....
People check this: foxy:~/pyweek-4-finals/Mindless_pw4/sky_journey-v1.0b aweil$ python run_game.py Warning: Unable to import psyco. Disabling... WS ['Welcome', 'to', 'Sky', 'Journey!'] WS ['Draw', 'runes', 'with', 'the', 'mouse', 'while', 'holding', 'the', 'left', 'button.'] WS ['Release', 'the', 'button', 'to', 'cast', 'the', 'spell.'] WS ['Hint:', 'start', 'from', 'the', 'red', 'end', 'and', 'move', 'toward', 'the', 'yellow', 'one.'] WS ['Good', 'luck!'] Advanced to the next stage Advanced to the next stage Traceback (most recent call last): File "run_game.py", line 13, in ? main.main() File "/Users/aweil/pyweek-4-finals/Mindless_pw4/sky_journey-v1.0b/lib/main.py", line 97, in main scene.run() File "/Users/aweil/pyweek-4-finals/Mindless_pw4/sky_journey-v1.0b/lib/Scene.py", line 258, in run s.update(elapsed_time) File "/Users/aweil/pyweek-4-finals/Mindless_pw4/sky_journey-v1.0b/lib/Enemy.py", line 47, in update AccelSprite.update(self, elapsed_msecs) File "/Users/aweil/pyweek-4-finals/Mindless_pw4/sky_journey-v1.0b/lib/Sprite.py", line 274, in update self.out_of_screen_cbfn(*self.out_of_screen_cbpars) File "/Users/aweil/pyweek-4-finals/Mindless_pw4/sky_journey-v1.0b/lib/Scene.py", line 484, in enemy_left_screen self.check_wave_stage() File "/Users/aweil/pyweek-4-finals/Mindless_pw4/sky_journey-v1.0b/lib/Scene.py", line 493, in check_wave_stage self.advance_stage() File "/Users/aweil/pyweek-4-finals/Mindless_pw4/sky_journey-v1.0b/lib/Scene.py", line 659, in advance_stage hint = HintTextSprite(config.SCREEN_WIDTH / 2, config.SCREEN_HEIGHT - 50, self.act_stage.hint_text, (255, 255, 255), 24, "burti_bold.ttf", self.act_stage.fade_in_time, self.act_stage.display_time, self.act_stage.fade_out_time) File "/Users/aweil/pyweek-4-finals/Mindless_pw4/sky_journey-v1.0b/lib/Sprite.py", line 407, in __init__ TextSprite.__init__(self, x, y, text, color, size, font, False, (0, 0, 0), 2) File "/Users/aweil/pyweek-4-finals/Mindless_pw4/sky_journey-v1.0b/lib/Sprite.py", line 336, in __init__ self.set_text(text, color, size, font, antialias, shadow, shadow_offs) File "/Users/aweil/pyweek-4-finals/Mindless_pw4/sky_journey-v1.0b/lib/Sprite.py", line 362, in set_text self.surf = self.font.render(self.text, self.antialias, self.color) pygame.error: No free channels available It was on, maybe, the end of a level, music, spells and sounds were playing all right, until that moment.
Thank you for the bugreport!

That's very strange though. "No free channels available" is an error in the SDL_mixer module and it has nothing to do with font.render. I suspect that pygame uses a separate thread for playing sound effects and the error occured in that thread (and it raised a python exception of course). Maybe there were 8 sound effects playing the same time (or 7 because the music is just a sound effect)...

Try the following:
Insert this into main.py into line 50
pygame.mixer.set_num_channels(16)
Maybe that will solve the problem.