Way to make very large tilemap with c# code.
horongi opened this issue · 1 comments
horongi commented
Hi, im newbie unity developer and i have problem with making huge map.
Im planning to make 1000x1000 map, and each tile is made of 64x64 pixels.
I will fill entire map with same tile. If i make entire map as one asset, it will be very heavy ( waste storage ).
So i want to make entire map with same tile, by coding them.
Ex. for(int i = 0 , i <1000 , i++ )
Like this.
Anyone can solve this problem?
ChuanXin-Unity commented
Yes, you can do that.
You can make use of Tilemap.SetTile (
https://docs.unity3d.com/ScriptReference/Tilemaps.Tilemap.SetTile.html) to
place all the Tiles that way.
…On Sun, Oct 17, 2021 at 4:28 AM horongi ***@***.***> wrote:
Hi, im newbie unity developer and i have problem with making huge map.
Im planning to make 1000x1000 map, and each tile is made of 64x64 pixels.
I will fill entire map with same tile. If i make entire map as one asset,
it will be very heavy ( waste storage ).
So i want to make entire map with same tile, by coding them.
Ex. for(int i = 0 , i <1000 , i++ )
Like this.
Anyone can solve this problem?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#316>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHA3TERMSSAKT6BAEVG37S3UHHN5FANCNFSM5GD74X3A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.