diff options
author | Henrique Alves <henrique.alves@itsjungle.xyz> | 2024-04-24 02:44:33 +0300 |
---|---|---|
committer | Henrique Alves <henrique.alves@itsjungle.xyz> | 2024-04-24 02:44:33 +0300 |
commit | 150738de9fb42159f6b60bc5cf817d99e6718988 (patch) | |
tree | 78202018253cd3771784872898688a675ce52dcb /scripts/main.scm | |
parent | 1d579be7f2469afdc2074af29d96dece70a62daa (diff) | |
download | gamejam-slgj-2024-150738de9fb42159f6b60bc5cf817d99e6718988.tar.gz gamejam-slgj-2024-150738de9fb42159f6b60bc5cf817d99e6718988.tar.bz2 gamejam-slgj-2024-150738de9fb42159f6b60bc5cf817d99e6718988.zip |
Successful test with s7!
Diffstat (limited to 'scripts/main.scm')
-rw-r--r-- | scripts/main.scm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/main.scm b/scripts/main.scm index bccb72f..136c757 100644 --- a/scripts/main.scm +++ b/scripts/main.scm @@ -1,8 +1,16 @@ (define a 0) (define b 0) +(define update + (lambda () + (set! a (+ a 1)) + (set! b (rl-load-texture)) + (display b) + (newline) + (gc-run) + )) (define draw (lambda () - (rl-draw-text) + (rl-draw-text (number->string a)) )) |