Add more constants to the constants.js file


  • Culture

    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*1024
    MEMORY_SEGMENT_COUNT = 100
    MEMORY_SEGMENT_MAX_ACTIVE_COUNT = 10

    This will make it easier to change/adapt code in case it ever changes.


  • Culture

    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.