boxes/js
HyperOnion 171d78adb0 clean up world constants to make more sense.
create a constant that represents the amount of tiles a box extends out
from its center in all 4 directions. compute the box size and box center
position constants from this new constant, instead of having them be
hard-coded.
2023-06-28 16:16:26 +02:00
..
utils improve grass growth. 2023-06-28 15:15:19 +02:00
entity.mjs tiny refactor of entity code. 2023-06-24 14:15:27 +02:00
graphics.mjs improve drawing of empty tiles. 2023-06-28 15:40:23 +02:00
graphics_core.mjs basic player movement and general cleanup. 2023-06-24 14:15:27 +02:00
input.mjs basic player movement and general cleanup. 2023-06-24 14:15:27 +02:00
main.mjs recursively update tiles within boxes. 2023-06-28 15:15:19 +02:00
player.mjs add world utility function for setting tiles to empty. 2023-06-28 15:15:19 +02:00
save_load.mjs fix worlds with boxes not saving & loading due to cyclic references. 2023-06-28 15:15:19 +02:00
tile_update.mjs recursively update tiles within boxes. 2023-06-28 15:15:19 +02:00
world.mjs clean up world constants to make more sense. 2023-06-28 16:16:26 +02:00