ECS Tilemap

Hello everyone,

Does anyone know if there will be tilemap entities for the DOTS 1.0 version? So far, you cannot convert tiles to entities and you cannot use them with the job system.

Maybe sometime after 1.0 release. But you should assume it will not.

So you are safer to roll out your own for time being. At least until release of any similar feature for DOTS.

Besides, tails mechanic are pretty easy to implement.

2 Likes

Thank you for the information.
Unfortunately, I’m still at the beginning of DOTS.
Do you mean something like a component that stores data as tiles?

There is many ways you can store data. As entities with data, as one of hash maps, as a 1d flat array of data. You could even store 2d array with native collections. But I won’t recommend last ome, since you are a new to DOTS.

Other than that, it is less of how you store data, but more what you do with it. I mean whole logic.

If this is too difficult, maybe it is worth for now to stay with OOP based tile map.

Last option, is to mix existing tile map with other DOTS based game logic. But seems this may be too complex for now, for OP.

1 Like

[quote=Antypodish, Beitrag: 8485691, Mitglied: 616942]
Die letzte Option besteht darin, die vorhandene Kachelkarte mit einer anderen DOTS-basierten Spiellogik zu mischen. Aber das scheint für OP vorerst zu komplex zu sein.
[/quote] The OOP tilemaps are probably the best way for me for now. I’m excited to see how ECS will develop. Thanks again for your help.