add networking, 3d improvements, reorganize src structure

This commit is contained in:
asrael 2026-01-17 22:52:36 -06:00
parent 39b604b333
commit 415d424057
122 changed files with 5358 additions and 721 deletions

View file

@ -101,7 +101,7 @@
(fn update [dt]
(when playing
(set time (+ time dt))
(when (>= time step-duration)
(while (>= time step-duration)
(set time (- time step-duration))
(local melody-idx (+ 1 (% step (length melody))))
@ -125,4 +125,5 @@
:start start
:stop stop
:update update
:is-playing (fn [] playing)}
:is-playing (fn [] playing)
:get-step (fn [] step)}