Przeglądaj źródła

note performance and chrome-support issues.

Lucas Stadler 12 lat temu
rodzic
commit
42a9bef0b9
1 zmienionych plików z 7 dodań i 0 usunięć
  1. 7 0
      js/pixl/README.md

+ 7 - 0
js/pixl/README.md

26
* multiplayer backend as for pixl
26
* multiplayer backend as for pixl
27
* live-editing from a built-in editor (similar to firefox' scratchpad,
27
* live-editing from a built-in editor (similar to firefox' scratchpad,
28
  but on the page. should also support saving code to `localStorage`.)
28
  but on the page. should also support saving code to `localStorage`.)
29
* better performance. noticable lag at 10000 trixls, probably
30
  batch-drawing would help, but how? first find out what the bottleneck
31
  is.
29
* bug: sometimes when moving the mouse to certain positions (edges of
32
* bug: sometimes when moving the mouse to certain positions (edges of
30
  the screen?) the camera rapidly alternates between two positions
33
  the screen?) the camera rapidly alternates between two positions
34
* bug: doesn't work in chrome, as it's missing support for iterators and
35
  the `keys()` function on maps. i didn't find any convenient polyfills
36
  (`keys()` should return something iterator-like, e.g. returning raw
37
  values on `next()` and `StopIteration` when the end is reached.)