/ld28

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

« back to all changes in this revision

Viewing changes to goal_person.lua

  • Committer: Josh C
  • Date: 2013-12-15 02:53:51 UTC
  • Revision ID: josh@9ix.org-20131215025351-g6jn442ybabnegsf
clones turning into fake goals

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
                  end
31
31
 
32
32
                  if other == the.player then
33
 
                     if the.view.level == 1 or the.view.level ==2 then
34
 
                        the.player.active = false
35
 
                        the.view:fade({0,0,0}):andThen(function()
36
 
                          the.app.view = SlowView:new {
37
 
                             level = the.view.level + 1
38
 
                          }
39
 
                       end)
40
 
                     elseif the.view.level == 3 then
41
 
                        the.app.view = WinView:new()
42
 
                     else
43
 
                        error('where did you find another level?')
44
 
                     end
 
33
                     error('WIN!')
45
34
                  end
46
35
               end
47
36
}
 
 
b'\\ No newline at end of file'