Be the first to post for 'Flyweight Pattern for Foliage'!

If you’re reading this, there probably aren’t very many posts yet. But don’t worry, you can be the first! Either create a new post or just reply to this one to say ‘hi’.

Could just be my computer but I noticed that on starting the game and also moving to the next tile, there’s a very noticeable delay now - I assume due to spawning all of the instances of grass as well as props, which is basically happening in constructors or on BeginPlay in various locations.

Would it be possible or advisable to spread this over several frames, spawning a limited number of instances and/or props per frame until they are all done? Especially for the newest tile, nothing will be visible so it can. be done out of visible range of the player.

Privacy & Terms