Stencyl 3.4.0 is now out. Get it now!

Code/Maths Help Please

JeffreyDriver

  • Posts: 836
Hi,
What I'm trying to do is draw two lines from the centre of a dial (like a clock.) Each line is to point to an actual degree value, so I'm not looking to convert values or anything. So if the value is 180 it points at 180 etc.

Thanks in advance.
Current Project - www.stencyl.com/game/play/36346 (Retro Redux Dogfight).
I always appreciate useful feedback. Thank you.

www.jeffreydriver.co.uk

LIBERADO

  • *
  • Posts: 2126
Install the great Drawing Utils Extension and use this block:
 

« Last Edit: May 26, 2017, 04:02:53 pm by LIBERADO »
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.

JeffreyDriver

  • Posts: 836
Thanks again LIBERADO. I actually use that extension all the time, but had forgotten about that block as I've never used it.
Current Project - www.stencyl.com/game/play/36346 (Retro Redux Dogfight).
I always appreciate useful feedback. Thank you.

www.jeffreydriver.co.uk