The Dink Network

Reply to Re: Brain 10 - target?

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
January 6th 2006, 03:52 PM
knightg.gif
cypry
Peasant He/Him Romania
Chop your own wood, and it will warm you twice. 
In case you can't use math_sqrt(), you can calculate the square of that distance and compare it to 100(if you want the distance to be <10)
To calculate the distance, do this:
&distance1 = &dinkx;
&distance1 -= &spritex;
&distance1 *= &distace1;

&distance2 = &dinky;
&distance2 -= &spritey;
&distance2 *= &distace2;

&distance1 += &distance2;