I'm actually working on finishing both a GoFundMe and a Patreon page so people can make 1-time or recurrent donations, and I should also be able to accept bitcoins soon.There will also be a bunch of affiliate links so people can just shop where they usually do and support me at the same occasion.
There seems to be a major memory leak. Within a couple hours, it's using several gigabytes of memory. I left it on overnight and woke up to it using over 17 GB... Other than that, love it!
Yes, there are still many memory leaks, but I don't have a lot of tools for spotting them easily with flash... It's gone from a few MBs for a few hundred KBs, so for most people the game remains playable for hundreds of game days at least.
Hmm, well, with the amount of memory that builds up in the time that it does (even just idling in the shop menu), it seems like you have objects being created every frame that aren't being deleted. I don't know how Action Script handles garbage collection, but I'd look for anything that says "new" every frame. That's usually the killer for me in JavaScript games. Object pooling and recycling objects usually fixes any problems I have. In the meantime, I'll just not ... Read More
Hmm, well, with the amount of memory that builds up in the time that it does (even just idling in the shop menu), it seems like you have objects being created every frame that aren't being deleted. I don't know how Action Script handles garbage collection, but I'd look for anything that says "new" every frame. That's usually the killer for me in JavaScript games. Object pooling and recycling objects usually fixes any problems I have. In the meantime, I'll just not use Chrome. It's probably leaking memory all on its own! lol
The difficulty comes from the fact that there isn't a "on every frame" thing going on. The shop is like a hundred objects handling events on their own. I went through every class at one point and tried my best to clean up, but without any means of really identifying the culprit, it gets inefficient really quick!
Ohhh okay. Sounds like Java. Well, good luck then! Switching to Safari fixed the problem I was having. I left in on all night and it's only using 200MB. I guess Chrome doesn't like your game!
Maybe. I also turned off smoke trails and clouds, but I don't think that would affect memory in the shop... It might be some extension I have on Chrome or something. Maybe my version of Flash. Who knows? Chrome has always used more memory than other browsers on my computer, but it was just crazy high on this game... Anyway, no biggie.