/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-14 05:24:01 UTC
  • Revision ID: josh@9ix.org-20131214052401-8b2cma95lsvw7avq
rename NotPlayer to Clone cuz they're clones, and it's way too early 
for a class name like NotPlayer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
                       np:doMove()
37
37
                    end
38
38
 
39
 
                    the.clones:collide()
40
 
                    the.clones:collide(the.player)
41
 
 
42
39
                    the.player.moved = false
43
40
                 end
44
41
 
62
59
                 self.console.fill.fill[4] = 75
63
60
              end
64
61
           end,
65
 
   onUpdate = function (self, dt)
66
 
                 if the.keys:justPressed('f1') then
67
 
                    local ss = love.graphics.newScreenshot()
68
 
                    ss:encode('screenshot-' ..love.timer.getTime()..'.png')
69
 
                 end
70
 
              end
71
62
}