Add more constants to the constants.js file
-
With the introduction of memory segments we got a few new limits we have to honor.
I’d love to see the following constants added to the constants file:
MEMORY_SEGMENT_MAX_SIZE
= 100*1024MEMORY_SEGMENT_COUNT
= 100MEMORY_SEGMENT_MAX_ACTIVE_COUNT
= 10This will make it easier to change/adapt code in case it ever changes.
-
If WORLD_WIDTH and WORLD_HEIGHT could also get regularly updated that would be great. Right now anyone who is using it is getting the wrong information, and frankly I don't think game constants should be unreliable.