instance_nearest_ext [D9]

Posted by Daniel-Dane on Jan. 19, 2007, 2:47 p.m.

³, ², ¹… BOOM!

School:

I've got the results from my reading test. I got a 10! I don't read anything, and it's long time ago I last read a book. In fact, I read more English than Danish!

Oh and we had a spelling test too… 9 [:(].

Our class is still using the old grade-system. You can see it here.

64D:

I haven't been much on, when I was it was mostly blog reading. And if someone has read about me in Pobble-Wobble's blog… We give crap about the warn system anyway. We are all good friends again.

Game Maker:

Have been very active in the instance_nearest_ext topic on the GMC. Talking about instance deactivation, ds_priory & point_distance.

Can you come with a faster instance_nearest_ext (aka nth) script?

Leif:

That's a danish male name…

Life:

blank

Comments

Bryan 17 years, 10 months ago

(16:59) Toon-Master - ht: and when it was just 1 or max, it used instance_nearest and instance_furthest

(16:59) # Bryan: k

well

you can take out the 1

=o

it's the same if you do

(16:59) # Bryan: repeat(1)

instance_nearest()

(17:00) Toon-Master - ht: but going to a loop is really slow

my results already show that

(17:00) # Bryan: yeah k

but um

why does it return a different one lol

(17:01) Toon-Master - ht: you mean the instance id?

(17:01) Toon-Master - ht: it's because their scripts are wrong

(17:01) # Bryan: hm

(17:01) Toon-Master - ht: the priority works if you used sprites

(17:01) Toon-Master - ht: the original is just plain wrong

(17:01) # Bryan: yay ^>^

^.^

hey

what about using instance furthest

(17:02) # Bryan: you'd speed it up if it's like the n-1 one

(17:02) Toon-Master - ht: sort of, did you see my code?

(17:02) # Bryan: no

Daniel-Dane 17 years, 10 months ago

I wasn't talking about you and your convoes… [:P]

Pobble-Wobble 17 years, 10 months ago

Quote:
Can you come with a faster instance_nearest_ext (aka nth) script?
I'll try, but instance deactivation was the first thing that popped into my mind.

Daniel-Dane 17 years, 10 months ago

Yeah, I've already seen you didn't like that [:P].