Last day
We are close to the end but still have fix many little things.The game is pretty done, the biggest doubt I have is about the controls.
Right now you need both the hands on the keyboard... I don't like it.
I'll reserve some time tomorrow to try different approach with the mouse.
(log in to comment)
Comments
There's only one thing you need to be careful with, some keyboards can't handle more than 2 keys at the same time in the same "area". For example: up arrow + left arrow + space won't work, but up arrow + left arrow + z will!
I meant that in our game you have to control two different objects at the same time: you control the ship with WASD keys and the girl with arrow keys.
So I meant that having both the hands on two sets of direction keys on the keyboard is not so good.
Unfortunately I hadn't time to change it... so you will understand what I mean by playing the game.
Traceback (most recent call last):
File "run_game.py", line 3, in <module>
code.main.main()
File "code/main.py", line 103, in main
currentLevel=mainLoop(currentLevel)
File "code/main.py", line 48, in mainLoop
currentLevel.update()
File "code/ftg_game/ftg_level.py", line 83, in update
self.customUpdate() #level mechanics
File "code/level.py", line 320, in customUpdate
for i in g.rect.collidelistall(self.doors):
TypeError: Argument must be a sequence of rectstyle objects.
Traceback (most recent call last):
File "run_game.py", line 3, in <module>
code.main.main()
File "/srv/tmp/torrent/done/pyweek-17/ForkedTail_PW17/run/PW17/code/main.py", line 103, in main
currentLevel=mainLoop(currentLevel)
File "/srv/tmp/torrent/done/pyweek-17/ForkedTail_PW17/run/PW17/code/main.py", line 48, in mainLoop
currentLevel.update()
File "/srv/tmp/torrent/done/pyweek-17/ForkedTail_PW17/run/PW17/code/ftg_game/ftg_level.py", line 83, in update
self.customUpdate() #level mechanics
File "/srv/tmp/torrent/done/pyweek-17/ForkedTail_PW17/run/PW17/code/level.py", line 345, in customUpdate
and not self.garbage[i].immune \
IndexError: list index out of range
ftg stands for "Forked Tail Game" (so I should rename the folder to ft_game instead of ftg_game...)
It is not a public engine, it is just my tentative of splitting code in reusable modules. Unfortunatley I'm not very neat person.
For what concerns the reported crashes, they should be fixed by editing level.py
line 299: self.doors[i]=0 --> self.doors[i].full=0
line 345: and not self.garbage[i].immune --> and not self.aliens[i].immune
I don't have chance to test them right now.
Archwyrm on 2013/09/07 13:47:
I'm not sure what's wrong with having both hands on the keyboard? I played a ton of (older) games like this. You might want to put your time into some other aspect of the project if it is playable as it is already.