Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
Deleted post

I would need to investigate your game JSON to check.

Maybe it's some problem with the visual script of your game, creating too much objects, and consuming all CPU.

For example, if you create a loop, for each object of type X, create object of type X. With 1 initial object, it will create 2, then 4, 8, 16, 32, 64, 128, ... With 30 frames per second, after only 1 second it will create 1.000.000.000 objects, and will probably freeze the machine.

This is only an example, but I would need to check you game JSON to see what is causing the problem.

I think I will add option to set a limit to the number of objects per level, to avoid accidental problems like this.

Deleted post

To simulate explosions, it's recommended to delete the particles after some time.

Also, you can remove bullets after it exits the screen area, to minimize amout of objects.

In the debug panel, you can check object count, to help.