Hi, I'm using rot.js for generating the Cellular map. Simple way as on your example page. However when I try to create a bigger map, say 1000x1000 then the generation process takes a lot of time and causes the game to freeze for that time.
I was wondering if there is any built-in way to slow down the generation process in order to display the percentage preloader to the user? Right now when the generation process takes the full CPU, there is no space for rendering the output for the user.
Hi, I'm using rot.js for generating the Cellular map. Simple way as on your example page. However when I try to create a bigger map, say 1000x1000 then the generation process takes a lot of time and causes the game to freeze for that time.
I was wondering if there is any built-in way to slow down the generation process in order to display the percentage preloader to the user? Right now when the generation process takes the full CPU, there is no space for rendering the output for the user.