/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:
5
5
--__ = require 'underscore'
6
6
vector = require 'vector'
7
7
 
8
 
require 'group'
9
 
 
10
8
require 'version'
11
 
require 'wrap_tile'
12
9
require 'player'
13
10
require 'enemy'
14
11
require 'cursor'
91
88
                 self.console:watch('the.app.width', 'the.app.width')
92
89
                 self.console:watch('the.app.height', 'the.app.height')
93
90
                 --self.console:watch('drawTook', 'the.drawTook')
94
 
 
95
 
                 -- back off that dark overlay a bit
96
 
                 self.console.fill.fill[4] = 75
97
91
              end
98
92
           end,
99
93
   onUpdate = function (self, dt)