~rick-rickspencer3/pygame-template/trunk

« back to all changes in this revision

Viewing changes to bin/crashteroids

  • Committer: Rick Spencer
  • Date: 2010-03-06 23:10:30 UTC
  • Revision ID: rick.spencer@canonical.com-20100306231030-ljq3b87czu6mmc52
correctly indented and commented guy.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
    g.explodestage = 0 #he's done exploding
80
80
    g.alive = True #make him live again
81
81
    g.visible = True
82
 
    g.initPos()
 
82
    g.init_position()
83
83
 
84
84
def controller_tick():
85
85
    """controller_tick - collect user input and update data
209
209
            for e in hits_dict[b]:
210
210
                if e.alive:
211
211
                    e.explode()
212
 
                    game.increaseScore(e.points)
 
212
                    game.increase_score(e.points)
213
213
                    b.explode()
214
214
 
215
215
def main():