- Home /
Heartstone like draggable attack system
Hi all, I need some advice how to implement an attack system heartstone like (a screen below). It is a draggable arrow from the start point to the point where I realease it.
How I can start to do this?
Thanks for any suggest
I'm not looking for the code to implement it but an idea on which to start. Please help!
Answer by Flaring-Afro · Jun 16, 2016 at 12:05 PM
Save the point where you first tap, or just have a default centered point for an object and get that. Then have an arrow tip image follow your finger with update. Then to connect them, have a simple line image that constantly updates and stretches and itself between both points. If you want to have a dashed line that looks consistent, you could have a mask that stretches while both rotate.
I got it! But in this way I guess that the effect is a 2D arrow. In the above screen the arrow seems to be 3D (I don't know if it is real 3d or only an effect).
Thank for your reply
Your answer
Follow this Question
Related Questions
How to load a new scene you create in current scene ? [Unity3D C#] 0 Answers
Issue with too much Vram occupation 0 Answers
3D Terrain Tiling Graphic Artifact 2 Answers
Anyone know how to make a vhs effect? 0 Answers
How to fix a unity asset error 1 Answer