|
|
|
|
|
by mattdesl
4233 days ago
|
|
Curious why the Mario demo is running at ~24FPS, and jumps to 45FPS when the keyboard is active. Is it throttling frames on purpose? Why can't it hit 60FPS for such a simple demo? It doesn't inspire much confidence for a language targeting interactive media. http://elm-lang.org/edit/examples/Intermediate/Mario.elm Otherwise it looks great. :) |
|
I'm not entirely sure why its updating more on keyboard, I just started using Elm but it could be related to the demo combining fps and key events into a single pipe and reacting on it. So by hitting keys you may be emitting extra events it needs to react to.