add networking, 3d improvements, reorganize src structure
This commit is contained in:
parent
39b604b333
commit
415d424057
122 changed files with 5358 additions and 721 deletions
|
|
@ -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)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue