Will a BIG scene with a few thousand actors slow down the game?
I am trying to create a big world that a character can explore. It will have roughly 14,000 actors that are scenery, all of these actors run a formula that snaps them to a grid. Will having this many actors significantly slow down the game when it is run on a device?
Comments
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
Possibly might help to spawn the off-screen actors just before they are needed... when they're 200 pixels + max. width of your screen size away from the middle of the screen perhaps; then destroy them when they're more than that....
Anyhow, one consideration: any actors placed further than 1000 pixels away from the screen perimeter will automatically be destroyed when that scene is run, I think....
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io
If the actors are destroyed when you get a thousand pixels away, gamesalad is trying to prevent the issue i might run into. Can i make that number smaller so they are destroyed sooner.