How do I draw a line with my mouse button down

Get help using Construct 2

Post » Tue Nov 10, 2015 9:37 am

I am developing a Golf game utilizing dices. Calculating the distance I want my Golfer/Player to draw a line from his position in the direction the ball travels. If this is not possible I am adding a grid to my background that helps a lot.
B
9
S
1
Posts: 9
Reputation: 503

Post » Tue Nov 10, 2015 10:10 am

Does that element from the How do I FAQ helps ?

Draw a line from point A to point B - LINK
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
296
S
119
G
96
Posts: 7,328
Reputation: 71,298

Post » Sat Nov 14, 2015 7:44 am

Thanks Kyatric, I could not find what I actually intend to do but with trial and error I discover Pin to Object and that works perfect. I can now drag and drop my line to any point and then move left or right with the wheel of my mouse. That gives me the exact angle and with another horizontal line I can pin point the exact position of the ball. Thanks for all the other info, still try to figure out how to download and use it. My brain is now in top gear and I only think of games to develop.
B
9
S
1
Posts: 9
Reputation: 503


Return to How do I....?

Who is online

Users browsing this forum: dop2000 and 6 guests