You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 1, 2020. It is now read-only.
Lets say I have a dungeon with 100 levels where each level is 70x70 tiles, that equals a total of 490000. Each tile is around 128 bytes (according to the chrome debugger). That means the dungeon alone takes around 60MB of memory.
Instead of generating and storing all the levels, maybe just generated them as needed and store only the current one, and any levels that a player has died on? That would leave a max of around 3MB of memory.