- Home /
How to work with tiles?
Hi,
Well, I'm currently working in a 2D plataformer level-based game, basically every level is diferent. My tile assets are 1x1 Unity unit, so when it comes to create the level my first guess was to do it one by one. But after spending half an hour just doing the first part of the level, I thought there's have to be some easy way to do it. If you have any ideas or if there isn't another way please reply. Thanks :)
Use a two-dimensional array where each position holds information about one tile. For esxample, an array of int[,] where 0 would mean clear space and 1 would mean solid wall.
Your answer

Follow this Question
Related Questions
Problem with lines between tiles 1 Answer
Random Tiling Textures 0 Answers
Exporting multiple terrain tiles as one heightmap 0 Answers
How to make different Rule Tiles interact with each other? 0 Answers
Why do textures map upside-down? 3 Answers