- Home /
Do I really have to do this?
I want to make rooms in a really big 2d map.(side view) Do I really have to make and place all those sprites and attach colliders to them all, or am I missing something? I'm really lazy, that's why i'm asking. Just for the record.
Answer by Cepheid · Nov 18, 2016 at 12:44 AM
A really nice and fairly simple way to make your 2D levels for Unity is to make a tilemap with a free program called Tiled and then export them to Unity using another free program called Tiled2Unity. These are really handy tools and they allow to design and create your level in Tiled and then export it, ready for use with Unity so that you don't have to keep, duplicating a tile, placing it over there etc.
There's a video detailing how to use this together to make a simple level at:
Easy Way To Make 2D Levels - GamesPlusJames
Tiled Download:
Tiled2Unity Download:
This is one of the ways I've gone about designing 2D levels to make it a bit smoother.
Answer by Landerk · Nov 18, 2016 at 01:28 AM
Dunno what your level will look like, but try to find repeatable elements in it, and use Prefabs for those. So say you make a big floor tile with a collider on it...make that a Prefab and you can use it again and again without having to make a new one every time.
Prefabs are extremely useful for saving yourself work. Unity has a ton of info...here's a start:
https://unity3d.com/learn/tutorials/topics/interface-essentials/prefabs-concept-usage
Your answer
Follow this Question
Related Questions
2D Coins and Points 1 Answer
Colliders 2d apparently touch each other even if they should not. 2 Answers
Player with RigidBody2D "bouncing" on EdgeCollider 0 Answers
2d collision detection 0 Answers
How to detect multiple Colliders in the same object? 2 Answers