- Home /
What to use for procedural tiles
Hello, I have tile-based procedural generation, but I dont know what to use for the tiles visually. I need to update the visual tile when needed. Should I just use Tilemap and SetTile? Or some other method. I am worried that Tilemap would be ineffective or performance-hungry. Also I am using DOTS and I would update the Tilemap inside a job, which i dont know if it is possible. I dont know, please help me. Thank you for any tips, tricks, ideas or sollutions.
No answers yet, well let me revive this question then, it still stands unanswered.
You are worrying about performance must mean that you have problems with performance, if you dont have trouble with performance use the tilemap setTile if it works fine then you are ok else you can go looking for how to set tiles with dots. Also there is a unity presentation on youtube about Dots and the person presenting is talking about how you dont need DOTS for everything and you can have dots with conventional object oriented program$$anonymous$$g.
Answer by sacredgeometry · Nov 29, 2020 at 04:24 AM
"We should forget about small efficiencies, say about 97% of the time: premature optimisation is the root of all evil" ~ Sir Tony Hoare
i.e. don't make obviously stupid design choices (like insanely time complex solutions to simple problems) but don't let concerns of prematurely optimising your code guide your design choices.
Your answer
Follow this Question
Related Questions
Creating an isometric/hex-based game system 1 Answer
How to use a Sprite Mask on Tilemap Tiles 0 Answers
Quality Reduction only reduces my player sprite quality 0 Answers
How do I read from TilePalette? 0 Answers
Falling Tiles 1 Answer