summaryrefslogtreecommitdiff
path: root/src/main.fnl
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-05-02 01:05:25 +0100
committerubq323 <ubq323@ubq323.website>2022-05-02 01:05:25 +0100
commitd6faf9716c167906c45deb099808d4d568e34c0d (patch)
tree30de8b7c6ce5d4a74a48ead63822db258243eeff /src/main.fnl
parentad03a0b0812bb8e15e5aa078d7c01eef5ebbdf2e (diff)
idfk
Diffstat (limited to 'src/main.fnl')
-rw-r--r--src/main.fnl12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main.fnl b/src/main.fnl
new file mode 100644
index 0000000..448e0a5
--- /dev/null
+++ b/src/main.fnl
@@ -0,0 +1,12 @@
+(local corridor (require :src.corridor))
+
+(local font (love.graphics.newFont :assets/APL333.ttf 72))
+(local current-room (corridor.make font))
+
+
+(fn love.update [dt]
+ (current-room.update dt))
+(fn love.draw []
+ (love.graphics.clear 1 1 1)
+ (current-room.draw))
+