Godot Version
4.3
Question
Here’s a screenshot of my code, I’m trying to draw isometric tiles but i find there’s no good way to optimize this. Is my code incorrect? Can i optimize it? Is this even possible in Godot?
4.3
Here’s a screenshot of my code, I’m trying to draw isometric tiles but i find there’s no good way to optimize this. Is my code incorrect? Can i optimize it? Is this even possible in Godot?
One idea would be to use a TileMap. There is also demo for an isometric game.
If you need to change things often, you could also dive into GDExtension, which allows you to execute time-critical-code in C++, which makes everything quicker.
I want to have multiple stacked blocks in the Z axis, tilemaps can’t achieve this.
The isometric demo also shows 2 layers, i need at least 20 times that amount of layers to achieve the desired effect.