summaryrefslogtreecommitdiff
path: root/main.lua
diff options
context:
space:
mode:
authorheav <hheav3@gmail.com>2022-12-27 23:16:22 +0000
committerheav <hheav3@gmail.com>2022-12-27 23:16:22 +0000
commit2095c56c2b48e6c4e87f7a5e2bdb6a4679b85a24 (patch)
treed6a41ee4b4b2a22f151176366e5be972470146d4 /main.lua
parentdf189a048a64e1982455ac1a1520a20a2412339d (diff)
sdfjkhkgfhsdgkldfgklsdfhghbvxcmvcn bee.
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