/ld28

To get this branch, use:
bzr branch http://9ix.org/bzr/ld28

« back to all changes in this revision

Viewing changes to main.lua

  • Committer: Josh C
  • Date: 2013-12-15 02:54:06 UTC
  • Revision ID: josh@9ix.org-20131215025406-l1gkpunh7xkmxlaq
and a player "graphic"

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
 
60
60
                    the.clones:collide()
61
61
                    the.clones:collide(the.player)
 
62
                    the.goalPerson:collide(the.player)
62
63
 
63
64
                    if math.random(1,5) == 1 then
64
 
                       the.clones.sprites[math.random(the.clones:count())].fill = {0,255,0}
 
65
                       the.clones.sprites[math.random(the.clones:count())].image = 'data/goal.png'
65
66
                    end
66
67
 
67
68
                    the.player.moved = false