How can i Create programming grid tilemap in 2d platform ?
hi, I want to create a 2d topdown strategy game and want to create a programming grid(s) (tilemap). Does anybody have an idea?
Answer by streeetwalker · Mar 07, 2020 at 08:35 PM
what do you mean by a "programming grid" ? Here is one example
there are lots of other tutorials. Google, Unity create dynamic 2d map from tilesets
Basically, you create a 2D array. You then need to decide which tiles are linked to each element in the array, and use the array as an index to offset the positions of the tiles in your rendered map.
I mean I want to put tile palette elements in tile gird (scene) together by program$$anonymous$$g(script) and I don't know how can I access tile palette elements.
Your answer
Follow this Question
Related Questions
How to use Shadow Caster 2D with Tilemap? 0 Answers
My Tile Palette becomes a grey mess 3 Answers
Is it safe to use 'Really tiny Grid' for tilemap? 0 Answers
Tilemap prefab returns null 0 Answers