The Daily Click ::. Forums ::. General Chat ::. NEW EXTENSION
 

Post Reply  Post Oekaki 
 

Posted By Message

ThePodunkian



Registered
  25/11/2003
Points
  347
22nd August, 2006 at 08:29:04 -

HELLO KLIKKERS.

this is THE PODUNKIAN, reppin' the homeboys at TOTAL-KLIK ( http://www.total-klik.net ) with an extension that has a SINGLE USE.

this extension, called THE PODUNKIAN'S ANGLE CALCULATOR is used to find the angle between two points. it's a really simple extension BUT IT SHOULD BE USEFUL FOR PEOPLE TRYING TO FIND ANGLES, ESPECIALLY BETWEEN TWO POINTS.

the code is based off of the MMF2 SDK template, so if anything doesn't work, blame YVES, ha ha ha. and NOVABRAIN, too.

the object has a single expression, called "AngleBetweenTwoPoints" and it works like this:

AngleBetweenTwoPoints( "Angle Calculator", X1, Y1, X2, Y2)

and will return a float with the angle (in degrees) between the two objects.

download it here:
http://www.total-klik.net/AngleCalc.exe]www.total-klik.net/AngleCalc.exe
this extension has been tested in MULTIMEDIA FUSION DEVELOPER 2 DEMO.

also, the extension returns values from 0 to 360.

 
n/a

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
22nd August, 2006 at 08:32:47 -

Yeah, so how many angle calculator extensions do we have now? Six? Seven? Do I hear EIGHT?

 
n/a

Flava



Registered
  30/07/2002
Points
  684

Has Donated, Thank You!Code MonkeyVIP MemberThe Cake is a LieThe Spinster
22nd August, 2006 at 09:13:46 -

wowz best extension evarr i fink i will use it ty podspunkian

 
This is a signature. Have this one on me.

ThePodunkian



Registered
  25/11/2003
Points
  347
22nd August, 2006 at 17:28:16 -

this is for multimedia fusion 2, you stupid idiot.

 
n/a

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
22nd August, 2006 at 17:30:14 -

So what's the difference or advantage between other angle calc extensions? Except the MMF2 thing, because the other ones will be converted in time.

 
Old member (~2004-2007).

Nova Soft



Registered
  16/10/2005
Points
  427
22nd August, 2006 at 18:40:51 -

I CAN MAKE YOU MINE, TASTE YOUR LIPS OF WINE, ANY TIME... NIGHT OR DAY. ONLY TROUBLE IS, GEE WHIZZ... I'M DREAMING MY LIFE AWAY...

 
By a route obscure and lonely,
Haunted by ill angels only,
Where an Eidolon, named night,
On a black throne reigns upright,
I have reached these lands but newly
From an ultimate dim Thule
From a wild clime that lieth, sublime,
Out of space
Out of time.

ThePodunkian



Registered
  25/11/2003
Points
  347
22nd August, 2006 at 18:49:26 -

uh, you mean besides the fact that it's been released whereas the other extensions haven't yet been converted?

Image Edited by the Author.

 
n/a

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
22nd August, 2006 at 19:58:40 -

You all aren't very gratefull are you?

 
.

Whippers With



Registered
  13/05/2006
Points
  155
22nd August, 2006 at 20:07:45 -

This makes me a bit scared. Because I'm pretty sure I'm using this function in MMF2 through the Advanced Direction Object, and according to you it does not EXIST! Is it the asylum for me?

 
-- Haihaine!!1: Ducks roxxorz yez no??--

Dustin Gunn

Gnarly Tubular Way Cool Awesome Groovy Mondo

Registered
  15/12/2004
Points
  2659

Game of the Week WinnerKlikCast StarVIP MemberI'm on a BoatGOTW Winner Oct 2010Kliktober Special Award Tag
24th August, 2006 at 21:43:31 -

"Yeah, so how many angle calculator extensions do we have now? Six? Seven? Do I hear EIGHT?"

Do I hear 1 and you're an idiot? Clickteam decided to take their slow-ass time converting an extremely useful extension so Podunkian makes it for you, BE GRATEFUL.

 
n/a

Flava



Registered
  30/07/2002
Points
  684

Has Donated, Thank You!Code MonkeyVIP MemberThe Cake is a LieThe Spinster
25th August, 2006 at 03:20:04 -

EXACTLY!!!
Seriously though - I'll use this in my new game until the others are converted..
So thanks teh pod!

 
This is a signature. Have this one on me.

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
25th August, 2006 at 06:25:06 -

I'm called an idiot, twice, because I don't know like all MMF2 extensions by heart from A to Z, backwards and in russian. Wow, sorry... <_<

 
n/a

Whippers With



Registered
  13/05/2006
Points
  155
25th August, 2006 at 08:44:50 -

EXACTLY!!!
Seriously though - what is the difference of this extension and the function in the Advanced Direction Object that was converted ages ago, which returns the "direction between two points" with:

Direction("Extension",X1,Y1,X2,Y2)

I'm honestly getting a little confused here because you talk about Advanced Direction as it doesn't exist, so perhaps I should stop using it because it will destroy my computer any second now. And if I'm right, you should all apologize to Axel for being ignorant assholes!

Image Edited by the Author.

 
-- Haihaine!!1: Ducks roxxorz yez no??--

Flava



Registered
  30/07/2002
Points
  684

Has Donated, Thank You!Code MonkeyVIP MemberThe Cake is a LieThe Spinster
25th August, 2006 at 10:35:28 -

Advanced direction object sets number of directions to 360 as default though.
So it does pretty much give you the angle

 
This is a signature. Have this one on me.

RapidFlash

Savior of the Universe

Registered
  14/05/2002
Points
  2712
28th August, 2006 at 23:28:19 -

Is this just
Atan( (y2 - y1) / (x2 - x1) ) * 180 / 3.14159

 
http://www.klik-me.com
   

Post Reply



 



Advertisement

Worth A Click