Skip to content
This repository was archived by the owner on Apr 6, 2020. It is now read-only.

Brainstorming

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.

Clone this wiki locally