Drawing an arrow cursor on user dragging in XNA/MonoGame
Posted
by
adrin
on Game Development
See other posts from Game Development
or by adrin
Published on 2012-10-21T09:07:17Z
Indexed on
2012/10/21
11:22 UTC
Read the original article
Hit count: 566
I am writing a touch enabled game in MonoGame (XNA-like API) and would like to display a an arrow 'cursor' as user is making a drag gesture from point A to point B. I am not sure on how to correctly approach this problem. It seems that its best to just draw a sprite from A to B and scale it as required. This would however mean it gets stretched as user continues dragging gesture in one direction. Or maybe its better to dynamically render the arrow so it looks better?
© Game Development or respective owner