You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 6, 2020. It is now read-only.
Kevin Evans edited this page Jul 19, 2016
·
4 revisions
Art server
preload common statics
use lru cache on client (WeakMap?)
possibly look into webp for image format
def use sprites. possibly group sprites together (ie 100-200, 200-300, 400-500...) and send meta data separately? is it possible to send metadata + images simultaneously?
maybe preload metadata? [{id: [{center: 0, width: 10, height: 10}, {center: 0, width: 10, height: 12}, ...]}...] or possibly send tuples to load into several typed array buckets?
Misc
need to determine a better way to access world data, particularly players & items.