kipraske / web-brogue

Play brogue in a web browser
GNU General Public License v2.0
20 stars 17 forks source link

Auto explore is jumpy #28

Closed kipraske closed 8 years ago

kipraske commented 9 years ago

We need to throttle incoming data so it animates each frame. The game will be a tiny bit slower, but overall it will be better looking

kipraske commented 9 years ago

Something else to look into: it seems that bolt animations work for monsters, but not the other way around.

flend commented 8 years ago

web_pauseForMilliseconds contained usleep(milliseconds) rather than usleep(milliseconds * 1000); Correcting this helped autoexplore be smoother and bolt animations. Admittedly, slow browsers will still drop them.

kipraske commented 8 years ago

Oh my, that is quite the bug. Thanks for the fix.