I have written about this somewhere else in October, but TL;DR is that you need to to one of the following, reduce the cache (or clear it) or decouple the prototype chain of unused objects in memory so that it will be picked up by the garbage collector.
I would be happy to assist since this is...
Looks nice! i am wondering about this.
if ($gameMap.checkPassage(i, j, 0x0f))Since the bit operator is
if ((flag & bit) === 0) // [o] Passablereturns true and then you color your map accordingly.
since 0x0f only needs the flag to be b0000xxxx to return 0, and since you use Uint8Array...
I am also writing a stamina plugin, we are doing a lot of the same thing.
What i can see as differences is that i have the regeneration of the stamina bar to happen as long as the actor is not moving, and holding shift does not matter.
I like that you change color when it gets depleted or...
Can you communicate with a server from within a game?
I don't know about any limitations in MV, but if there is none, you should be able to read data from an external server that delivers JSON. Could you also do API calls as well?
I don't like linear gear progression in games. I'd like to see more gear be useful from start to finish. This is also true for skills. I also like finding overpowered gear, and don't enjoy games that are too balanced.
The more I look at the QPlugins... The more I am amazed at what they can do. Which I'm not going to lie is pretty awkward, because I already consider them far and away the best plugins MV has to offer.