Day 7

Phew. I made it. It is done. Well, sort of. There's now 7 levels (1 intro, 1 boss, 1 extro, so actually 4). Didn't have time for any playtesting or packaging yet though.

Also, my actual vision seems all twisted right now, adjusting to the twisting in the game. All text here in a straight line looks like on a circle outline, and when moving the head, it all gets swirly.. not good :P

So, be warned, don't play this game for too long or it will negatively influence your vision.. :P

(log in to comment)

Comments

Congrats!
> Also, my actual vision seems all twisted right now
I've sometimes wondered whether one's ability to perceive straight lines as straight is hard-wired into the brain, or whether it's somehow learned. Your experience suggests it might be learned, and you're starting to learn a different definition of "straight"...
Hmmm.
richards:~/Desktop/allefant5 richard$ python run_game.py
Traceback (most recent call last):
  File "run_game.py", line 16, in 
    main.main()
  File "/Users/richard/Desktop/allefant5/lib/main.py", line 11, in main
    run.main()
  File "/Users/richard/Desktop/allefant5/lib/run.py", line 200, in main
    run.game = Game(run.w, run.h)
  File "/Users/richard/Desktop/allefant5/lib/game.py", line 21, in __init__
    self.background1 = Picture("clock.jpg")
  File "/Users/richard/Desktop/allefant5/lib/picture.py", line 8, in Picture
    pic = CachedPicture(path, area)
  File "/Users/richard/Desktop/allefant5/lib/picture.py", line 17, in __init__
    image = pygame.image.load(data.loadblock(path))
  File "/Users/richard/Desktop/allefant5/lib/data.py", line 47, in loadblock
    io = StringIO(dump.index[filename])
KeyError: 'clock.jpg'
Are you on a non-Intel Mac? In that case, I do have a suspicion, can you try this: In lib/data.py, line 27 says:
n = struct.unpack("=i", dump.mem[:4])[0]
Change this to:
n = struct.unpack("<i", dump.mem[:4])[0]
And the same in line 38, it should be:
o, l = struct.unpack("<ii", dump.mem[pos:pos + 8])
I sure was. I'll be back on that computer tomorrow and will check your solution.
I uploaded a version with this fixed (in case it does fix it), just in case who makes the torrent happens to read it: Allefant5 with this big-endian bug and another bug where GL sometimes would crash fixed