Hi guys I am starting a simple hobby app in Unity, its a 2D app, which have some alphabets like A,B,C..Z (images) . There ll be specific paths where user touch one by one to complete drawing the alphabet, like image below. Now I have some solutions for it in my mind:
- Make a grid of small boxes/planes with colliders on complete alphabet character, and enable some of its planes, like in image the "red" line ll have small planes behind it with colliders enabled (planes with colliders on "yellow" and "blue" line ll be disabled) "red" plane colliders are triggered with some texture when user clicks/touches on that plane wo show some color on touch point. Thats how complete alphabets can be done with one grid.
- Create mesh colliders for every alphabet in 3dsMax or any other modeling tool and enable them one by one. For e.g first enable "red" line collider then "yellow", then "blue". But this ll require to make collider for every curve and changing design ll require re work.
- Picking specific pixel set on the image, e.g to first pick red area pixels, if user touching on these pixels then true else false.
I would like if some can have a better solution of it ? may be any optimized way, may be some variation of custom colliders, bounds, line renderes, curves etc.