put engine in own folder
This commit is contained in:
parent
d70e7ec524
commit
8d21db47f1
@ -1,5 +1,5 @@
|
||||
local anim8 = require 'libs/anim8'
|
||||
local object = require 'object'
|
||||
local anim8 = require 'engine/libs/anim8'
|
||||
local object = require 'engine/object'
|
||||
|
||||
Animator = class()
|
||||
|
@ -1,5 +1,5 @@
|
||||
local object = require '../object'
|
||||
local animator = require '../animator'
|
||||
local object = require '../engine/object'
|
||||
local animator = require '../engine/animator'
|
||||
|
||||
Gridwalker = class()
|
||||
|
@ -1,10 +1,12 @@
|
||||
local HC = require 'libs/hardoncollider'
|
||||
class = require 'engine/libs/30log'
|
||||
|
||||
local HC = require 'engine/libs/hardoncollider'
|
||||
-- has to come before the sti initialization so I can add the collision tiles
|
||||
collider = HC(100)
|
||||
|
||||
local sti = require "libs/sti"
|
||||
local object = require "object"
|
||||
local ui = require "ui"
|
||||
local sti = require "engine/libs/sti"
|
||||
local object = require "engine/object"
|
||||
local ui = require "engine/ui"
|
||||
|
||||
Engine = class()
|
||||
|
@ -1,5 +1,3 @@
|
||||
class = require 'libs/30log'
|
||||
|
||||
local engine = require 'engine'
|
||||
|
||||
function love.load(arg)
|
||||
|
@ -1,5 +1,5 @@
|
||||
local object = require "../object"
|
||||
local gridwalker = require "../controllers/gridwalker"
|
||||
local object = require "engine/object"
|
||||
local gridwalker = require "engine/controllers/gridwalker"
|
||||
|
||||
return {
|
||||
spritesheet = "assets/characters/matty.png",
|
||||
|
@ -1,5 +1,5 @@
|
||||
local object = require "../object"
|
||||
local gridwalker = require "../controllers/gridwalker"
|
||||
local object = require "engine/object"
|
||||
local gridwalker = require "engine/controllers/gridwalker"
|
||||
|
||||
return {
|
||||
spritesheet = "assets/characters/player.png",
|
||||
|
Loading…
Reference in New Issue
Block a user