#Using too much ressources while performing an action

1 messages · Page 1 of 1 (latest)

worthy swift
#

Hey, for my game ive made a script that makes it so a tree spawn every few seconds, but as you can see in the attached pictures it has a lot of inherited instances so from the get go it takes up a lot of ressources. But when the loop executes itself and the tree gets cloned the game freezes for a moment which is inconvenient. What would y'all recommend me to change in my script to make it so it is still able to work in this manner without removing any clover leafs i am still not that familiar with running scripts in pararel of task.syncronise / desyncronise, i wonder if those concepts could be of use

hexed cargo
#

this is rather a model problem and not a script problem 😭

#

3,180 clovers for 1 tree

worthy swift
#

wait i removed the clover meshes from the tree and it looks so pretty that way

hexed cargo
#

but you still got 3,180 leafes 😭

lusty ice
#

Yeah... I think the answer to your problem is just not having 3180 parts in a model that periodically spawns

drifting flint
#

and combine those 3,180 meshes into one