[Dev] float

James Paige Bob at HamsterRepublic.com
Sat Oct 20 23:28:45 PDT 2007


Any idea what this is all about? Monkey Boxing does it too.

  File "sidescroller.py", line 93, in <module>
    game.run_game()
  File "/usr/lib/python2.5/site-packages/motherhamster/hamsterwheel.py", 
line 289, in run_game
    self._draw()
  File "/usr/lib/python2.5/site-packages/motherhamster/hamsterwheel.py", 
line 330, in _draw
    self.draw()
  File "sidescroller.py", line 79, in draw
    self.player.draw()
  File "/home/james/src/motherhamster/sidescroller/player.py", line 85, 
in draw
    self.display.render(body, pos, scale)
  File "/usr/lib/python2.5/site-packages/motherhamster/displayGL.py", 
line 397, in render
    glRotatef(angle, 0, 0, 1)
TypeError: a float is required


More information about the Dev mailing list