Final release!

Did quite a lot of last-minute polishing this morning, and even managed to find some appropriate music. As always, I didn't have time to implement everything I had in mind, but it's good enough to call it done. I can get back to playing Kerbal Space Program now!

(log in to comment)

Comments

Yay! Flying rockets into the Mün! :)
After a long while playing I got this exception:

Traceback (most recent call last):
  File "run_game.py", line 13, in <module>
    main.main()
  File "Game/Code/main.py", line 22, in main
    shell.run()
  File "Game/Code/humerus/hshell.py", line 44, in run
    Shell.run(self)
  File "Game/Code/albow/root.py", line 115, in run
    self.run_modal(None)
  File "Game/Code/albow/root.py", line 155, in run_modal
    self.do_draw = self.timer_event(timer_event)
  File "Game/Code/humerus/hshell.py", line 241, in timer_event
    result = self.game.timer_event(event)
  File "Game/Code/humerus/hgame.py", line 158, in timer_event
    self.begin_frame()
  File "Game/Code/game.py", line 37, in begin_frame
    self.world.timestep(dt)
  File "Game/Code/world.py", line 167, in timestep
    self.remove_dead_units()
  File "Game/Code/world.py", line 114, in remove_dead_units
    unit.units_removed(dead)
  File "Game/Code/unit.py", line 130, in units_removed
    self.mission.units_removed(self, units)
  File "Game/Code/missions.py", line 48, in units_removed
    if self.target in units:
TypeError: unhashable type: 'numpy.ndarray'
Aaargh... I think I know what's happening there. I'll see if I can come up with a fix tomorrow.
Try this change to Game/Code/missions.py:

+++ missions.py    2013-09-14 09:41:07.000000000 +1200
@@ -45,7 +45,7 @@
             return target.resources
    
     def units_removed(self, unit, units):
-        if self.target in units:
+        if self.get_target_unit() in units:
             self.target = None
             if self.next_mission:
                 self.next_mission.units_removed(unit, units)
Thanks! I don't know how to reproduce the crash, so I cannot really test the fix. I'll take your word for it :).