3 ms·
So I just ran a test deploy of a Pyxel little animated star field: https://gondolaprime.pw/games/starfield/index.html https://gondolaprime.pw/games/starfield/i
by vunderba 3y ago
So I just ran a test deploy of a Pyxel little animated star field:
https://gondolaprime.pw/games/starfield/index.html https://gondolaprime.pw/games/starfield/index.html
Developer console shows approx ~7MB transferred. Still more than I would have expected for literally just a small looping animation but a bit better than 30MB at least.
Maybe there's been some progress on this front.
Thanks for the TIC-80 recommendation - I really like that it supports multiple langs (Lua, JS, Python, etc) - that's some great flexibility.
EDIT: It looks like TIC-80 games pull a tic80.wasm file which is approximately ~6MB in size. I'd say Pyxel and TIC-80 are roughly comparable at least with respect to bundle size.
https://tic80.com/js/1.1.2837/tic80.wasm https://tic80.com/js/1.1.2837/tic80.wasm
- filleduchaos 3y ago> Developer console shows approx ~7MB transferred Bytes transferred over the wire don't equal actual file size (due to gzipping, etc). Your page actually weighs 21MB.
- vunderba 3y agoYes, I'm well aware of that - but your average viewer isn't going to notice expanded resources, however they ARE going to notice things like time-to-first-byte and network transfer. EDIT: Just to be clear since I can't edit the older comment - instead of bundle size it would have been better to say that the "network transfer size" is roughly comparable.