4 ms·
How is the actual game loop executed? I don't know Elm but I only find update, not how it's run.
by Kiro 9y ago
How is the actual game loop executed? I don't know Elm but I only find update, not how it's run.
- kornish 9y agoThe function `Html.program`, in `main`, takes an update function which handles (among other things) ticking the game loop. http://package.elm-lang.org/packages/elm-lang/html/latest/Html#program http://package.elm-lang.org/packages/elm-lang/html/latest/Ht...