+1 vote

Hi,

I'm currently working on a rogue-likeish game. I generate my world randomly in GDScript. I've added a thread inside my Gridmap-Script to expand the Gridmap if the player get's to far (like a new floor of a building). But it keeps locking up my scene.

How can I expand the grid map without overloading the main thread. Do I have to divide my addition into small pieces, or is there another approach?

asked Apr 16 in Engine by Roughnight (13 points)

When you say it "keeps locking up your scene", do you mean it freezes only as long as it takes to generate the expanded map?

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.