/spacey

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

« back to all changes in this revision

Viewing changes to main.lua

  • Committer: Josh C
  • Date: 2013-05-13 20:26:30 UTC
  • Revision ID: josh@9ix.org-20130513202630-jd3tf1rr5zp3gbcm
move player around looping world

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
vector = require 'vector'
7
7
 
8
8
require 'version'
9
 
require 'wrap_tile'
10
9
require 'player'
11
10
require 'enemy'
12
11
require 'cursor'
89
88
                 self.console:watch('the.app.width', 'the.app.width')
90
89
                 self.console:watch('the.app.height', 'the.app.height')
91
90
                 --self.console:watch('drawTook', 'the.drawTook')
92
 
 
93
 
                 -- back off that dark overlay a bit
94
 
                 self.console.fill.fill[4] = 75
95
91
              end
96
92
           end,
97
93
   onUpdate = function (self, dt)