summaryrefslogtreecommitdiff
path: root/src/mansion.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mansion.fnl')
-rw-r--r--src/mansion.fnl18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mansion.fnl b/src/mansion.fnl
index 067c679..1c11067 100644
--- a/src/mansion.fnl
+++ b/src/mansion.fnl
@@ -1,5 +1,5 @@
-(local bump (require :bump))
-(local player (require :player))
+(local bump (require :vendor.bump))
+(local player (require :src.player))
(local world (bump.newWorld))
@@ -39,8 +39,8 @@
(love.graphics.setColor (if angry [1 0 0 0.8] [0.7 0 0.5 0.8]))
(love.graphics.rotate (/ (- theta) 1.618))
(love.graphics.polygon :line (- (/ tri-a 2)) (- (/ tri-h 3))
- (/ tri-a 2) (- (/ tri-h 3))
- 0 (* 2 (/ tri-h 3))))
+ (/ tri-a 2) (- (/ tri-h 3))
+ 0 (* 2 (/ tri-h 3))))
(love.graphics.setLineWidth 7)
(love.graphics.setColor 0.8 0.8 0 0.7)
@@ -55,9 +55,9 @@
(var title nil)
(var jerma nil)
(fn theload []
- (set font (love.graphics.newFont :APL333.ttf 72))
+ (set font (love.graphics.newFont :assets/APL333.ttf 72))
(set title (love.graphics.newText font :mansion))
- (set jerma (love.graphics.newImage :jerma.jpg))
+ (set jerma (love.graphics.newImage :assets/jerma.jpg))
(world:add :jerma 30 400 400 50))
(fn draw_jerma []
@@ -75,9 +75,9 @@
(draw_thing)
(draw_jerma))
-{ : world
- : draw
- :load theload }
+{: world
+ : draw
+ :load theload}