- Home /
Merging Objects (many tiles into one) - 2D
[non-English Speaker here]
Hi guys, I created a stage with tilemaps using Tile Master.
Problem: Every tile becomes a game object.
Is there any way to merge the tiles into only one game object? It could be an external tool or something...
I "painted" the tiles with automatic collider (TileMaster function) but it can be ignored.
Look into voxel tutorials, they use meshes to paint the scene.
Don't use Tile $$anonymous$$aster, use Tiled
and import the maps you make using
http://www.seanba.com/tiled2unity
to learn how to use this go to
https://www.youtube.com/watch?v=NNpLsimyu3I&list=PL_4rJ_acBN$$anonymous$$H3SExL3yIOzaqj5IP5CJLC
Ouch, reading about the static game objects:
"For example, rendering can be optimised by combining several static objects into a single, large object known as a batch."
By checking tiles as "static" I got a better performance. Is it right? Cause it's all I want.
Sorry guys, newbie question. I have just started unity development.
Answer by J0hn4n · Jun 09, 2017 at 06:45 AM
build a mesh, set Uv coordinates to be height , width of your tile.
Your answer
Follow this Question
Related Questions
Trouble with tilemaps as prefabs for 2D plattformer 1 Answer
Huge lag when toggling between Tile maps in one scene. 0 Answers
How to store remaining durability of tiles? Tilemap 0 Answers
My 2D tiles have holes in them 0 Answers
Tilemap Collider 2D only works on upper and lower part of tile 0 Answers