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