Hi Guys,
For the 2D side scrolling game I’m making, I first draw out my levels in Illustrator, and then export the entire level as a single png, and import that into Unity. You can see the following link to see what a test level without artwork would look like in terms of level element shapes: link. Blue is normal ground, red is dead, black is transparent.
Unfortunately, having a whole level as a single png is not working. Unity is smart when I add a polygon collider, as it manages to have a collider around each shape (which is quite impressive). But, because everything is part of the same image/sprite, and subsequently the same collider, I can’t make small adjustments in the position of a single element, or create separate events on collision with blue versus red. I also can’t seem to slice up to original png into separate sprites in unity, as the bounds for each shape sometimes overlap.
I’m trying to be efficient here, so, is there a way in unity to manually break up the original png into a sprite sheet in unity, or do I have to go back into Illustrator and spread apart the elements so that unity can automatically slice it up?
Thanks!