summaryrefslogtreecommitdiff
path: root/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/main.lua b/main.lua
index add0d92..1d51e20 100644
--- a/main.lua
+++ b/main.lua
@@ -1,5 +1,6 @@
local obj = require "obj"
local text = require "text"
+local debug_arrow = require "debug_arrow"
obj.load_types()
line = love.graphics.line
@@ -25,8 +26,7 @@ for i = 1, 100 do
end
obj.new("test", {0, 0})
-
-obj.new("heav_object", {100, 0})
+obj.new("heav_object_2", {100, 60})
local function window_scale()
local w, h = love.graphics.getDimensions()
@@ -80,6 +80,9 @@ local function draw_world()
set_color(1, 1, 1)
o:draw()
end
+
+ debug_arrow.draw()
+
set_color(1, 1, 0.5)
if selection then
for o in pairs(selection) do