> if game_mode == "player_alive": > handle_input() > move_player() > if player.is_killed(): > if number_of_lives == 0: I'd change it to, possibly, if player.number_of_lives, but that depends on the actual game design
- [pygame] A bunch of newbie questions Miguel Sicart
- Re: [pygame] A bunch of newbie questions Ian Mallett
- Re: [pygame] A bunch of newbie questions Pete Shinners
- Re: [pygame] A bunch of newbie questions Dmitrii 'Mamut' Dimandt
- Re: [pygame] A bunch of newbie questi... Miguel Sicart
- Re: [pygame] A bunch of newbie qu... Michael George
- Re: [pygame] A bunch of newb... Mundial 82