phoboslab / q1k3

A tiny FPS for js13k

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't satisfy Rule #1 of JSK13 compo!

DEF7 opened this issue · comments

While this is super rad, it doesn't satisfy rule #1 on JSK13 compo as it downloads the level/model geometry from your website when run. The packed JS is 12kb but the 'l' and 'm' files it downloads are ~7kb total, meaning that this would be closer to 19kb and therefore not satisfy the requirements of the compo.

Folk are trying to tell me I'm wrong, and that you've somehow packed that data into the JS itself, but then why doesn't it run without those files?

All your code and game assets should be smaller than or equal to 13 kilobytes [...] when zipped.
~ https://js13kgames.com/#rules

build.sh produces a ZIP that satisfies this rule. Yes, this rule is quite arbitrary, but all submission are judged against it.

Also worth noting: webservers typically employ gzip compression when serving html/js. So when loading the game in a browser, only about ~16kb (depending on the gzip level) go over the wire. If the binary files would be gzipped, too, it would be very close to the 13kb. E.g. for the server at https://phoboslab.org/q1k3/ (without gzip for the binary files):

image