Hi,
My use case is that the there are two sprites on the screen at some distance, when player touch one sprite and slide on screen without releasing to another sprite, I want to draw the path with some thickness and colour.
Input events, I have taken care of.
All I need is drawing the path.
Ways, I can think of:
- Use a small rectangle sprite and using factory keep adding on screen or removing as per path (very resource hungry)
- Use GUI node - box to draw and keep changing its position and size.
- Using render low level draw functions to draw rectangle and color it (which I don’t know how to achieve and will need some references)
is there any better method or which one from above is better to implement ?
Thanks