PyWeek - added a propeller


Well, I won't be able to finish, all the huge progress of the last hour or so is a propeller added to the submarine. This leaves a todo list of:
  • add side rotors to ship
  • turn steering propeller according to controls
  • main motor RPM gauge
  • altitude gauge
  • water currents, levels
  • particles to see current direction
  • other objects.. plants, fishes?
  • surface (texture? sky? fog? light beams? water effect?)
  • sound, music, menu, polish

allefant on 2007/04/05 12:16 of Twenty Thousand Leagues under the Sea


Comments: (log in to comment)

Not working for me on Windows :(
Traceback (most recent call last):
  File "run_game.pyw", line 13, in ?
    main.main()
  File "C:\Documents and Settings\Phil\My Documents\BitTorrent Downloads\pyweek-
4-finals\allefant\allefant\lib\main.py", line 12, in main
    twentythousand.main()
  File "C:\Documents and Settings\Phil\My Documents\BitTorrent Downloads\pyweek-
4-finals\allefant\allefant\lib\twentythousand.py", line 113, in main
    meshes = swarm.load_meshes(data.filepath("nautilus.swarm"))
  File "C:\Documents and Settings\Phil\My Documents\BitTorrent Downloads\pyweek-
4-finals\allefant\allefant\lib\swarm.py", line 100, in load_meshes
    nx = getd(f)
  File "C:\Documents and Settings\Phil\My Documents\BitTorrent Downloads\pyweek-
4-finals\allefant\allefant\lib\swarm.py", line 63, in getd
    def getd(f): return struct.unpack("<d", f.read(8))[0]
struct.error: unpack str size does not match format
It doesn't crash here, on linux, but all I get is a black screen.