Prevent threading problems in TileMap
This commit is contained in:
parent
a586e860e5
commit
fe203d7003
3 changed files with 10 additions and 14 deletions
|
|
@ -5,7 +5,7 @@
|
|||
</brief_description>
|
||||
<description>
|
||||
Node for 2D tile-based maps. Tilemaps use a [TileSet] which contain a list of tiles which are used to create grid-based maps. A TileMap may have several layers, layouting tiles on top of each other.
|
||||
For performance reasons, all TileMap updates are batched at the end of a frame. Notably, this means that scene tiles from a [TileSetScenesCollectionSource] may be initialized after their parent.
|
||||
For performance reasons, all TileMap updates are batched at the end of a frame. Notably, this means that scene tiles from a [TileSetScenesCollectionSource] may be initialized after their parent. This is only queued when inside the scene tree.
|
||||
To force an update earlier on, call [method update_internals].
|
||||
</description>
|
||||
<tutorials>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue