- Home /
Can I Get Unity to draw simple shapes instead of me using Sprite images
I'm a noob learning as I go...
My game is a 2d game in which the player and enemies will be presented as simple geometric shapes like circles and triangles- but styled with pretty colors and gradients.
I'm wondering if it is a) possible, and b) makes sense as an approach, to have unity 'draw' these objects instead of me making .png files for everything. I imagine that I will be able to do a lot of interesting things with colors and animation if its all done programmatically - and I won't be wrestling with image compression to make it look good.
Am I thinking about this the right way? And is there a good place to start looking into this stuff?
Thanks
You can't draw perfect circles or shapes with smooth curves natively, but if it can be represented by a mesh, then you can do it. You can find many tutorials on procedural mesh generation, and the asset store also has tools for drawing various shapes.
Your answer
Follow this Question
Related Questions
Dynamicly create 2D Wind Graphic effects 0 Answers
infinite 2d grid in an Editor Window 1 Answer
Fit in squares in a dedicated space 2 Answers