/ld26

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

« back to all changes in this revision

Viewing changes to player.lua

  • Committer: Josh C
  • Date: 2013-04-27 23:26:34 UTC
  • Revision ID: josh@9ix.org-20130427232634-dimxzr3ds9ewe78d
some transitions in svg

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
           end,
14
14
   onStartFrame = function(self)
15
15
                     local ms = self.movementScale
16
 
                     if DEBUG and the.console.visible then
17
 
                        ms = ms * 4
18
 
                     end
19
16
 
20
17
                     if the.keys:pressed('up') then
21
18
                        self.velocity.y = -100 * ms