Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(1 edit)

Hi, with more testing, it seems like having the worker objects offscreen and setting their animation rate to 0 while offscreen does not free memory. 

Is there a way to turn off worker mode for objects during runtime? Or is that not possible?

You cannot turn them off during runtime and I would not expect them to free memory when off screen. However, they should require very little CPU when offscreen, since the animation and lighting is not being updated. I will check and make sure this is true when lighting is active also.

Ah ok, thought so. I dont have lighting at all yet, and all is running smooth at 144fps. It's just the memory problem that starts building up until the crash. Will test on earlier versions of Chrome later.