/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-05 01:58:04 UTC
  • Revision ID: josh@9ix.org-20130505015804-sfeg9pd9fxbtmgdg
enemy

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
require 'zoetrope'
5
5
--__ = require 'underscore'
6
 
vector = require 'vector'
7
6
 
8
7
require 'version'
9
8
require 'player'
10
9
require 'enemy'
11
 
require 'cursor'
12
 
require 'bullet'
13
10
 
14
11
util = {
15
12
   signOf = function(value)
38
35
 
39
36
              self:add(Enemy:new{x=400, y=300})
40
37
 
41
 
              self:add(Cursor:new())
42
 
 
43
38
              love.mouse.setGrab(true)
44
 
              love.mouse.setVisible(false)
 
39
              --love.mouse.setVisible(false)
45
40
 
46
41
              --self:loadLayers('data/map.lua')
47
42
              self.focus = the.player