summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHenrique Alves <henrique.alves@itsjungle.xyz>2024-04-22 19:56:32 +0300
committerHenrique Alves <henrique.alves@itsjungle.xyz>2024-04-22 19:56:32 +0300
commit4e6f31d4c443ff2e69366261e4ff48776011c42a (patch)
treec6832c1e2d8024ef05fb81c75ee92b986512a9a7 /scripts
parentcef05d32d6a8e38d8d84a5a7efac4494b00f1ce9 (diff)
downloadgamejam-slgj-2024-4e6f31d4c443ff2e69366261e4ff48776011c42a.tar.gz
gamejam-slgj-2024-4e6f31d4c443ff2e69366261e4ff48776011c42a.tar.bz2
gamejam-slgj-2024-4e6f31d4c443ff2e69366261e4ff48776011c42a.zip
MVP of bug
Diffstat (limited to 'scripts')
-rw-r--r--scripts/main.scm16
1 files changed, 4 insertions, 12 deletions
diff --git a/scripts/main.scm b/scripts/main.scm
index 1900911..bccb72f 100644
--- a/scripts/main.scm
+++ b/scripts/main.scm
@@ -1,16 +1,8 @@
(define a 0)
(define b 0)
-(define (update)
- (set! a (+ a 1))
- (set! b (rl-load-texture "./assets/test.png"))
- ;; Not displaying the next lines makes the crash take longer to happen
- (display a)
- (newline)
- (display b)
- (newline)
- )
-(define (draw)
- (newline)
- )
+(define draw
+ (lambda ()
+ (rl-draw-text)
+ ))