How do I pick my nose?

Get help using Construct 2

Post » Tue Aug 12, 2014 2:12 am

I'm having a little instance picking confusion. I know there's a lot of stuff about it around here, but I've read so much of it, I've just gotten myself confused. (good chance I've seen the answer and just didn't recognize it)

Let's say I want to know if one nose is right above another, something like:
If nose is overlapping nose at offset (0, -50)

No problem. now next, I want to do some other comparisons in sub-events (or not?) with these two noses, something like:
if the first nose.x < the second nose.x

but there are many other nose instances, so they could be any random number uids and such.

how do I know and use exactly which two noses I'm dealing with?
B
86
S
43
G
71
Posts: 601
Reputation: 43,619

Post » Tue Aug 12, 2014 2:52 am

I haven't actually done this yet, so I might be wrong: instead of just creating a sprite for the noses, create a family. Then you can compare if a family member is overlapping another family member, without having to specify which noses.
I think families are one of those things they hold back for the licensed version, though.
Phase 1: Collect Underpants.
Phase 2: ????
Phase 3: Profit!
B
16
S
5
G
4
Posts: 106
Reputation: 2,450

Post » Tue Aug 12, 2014 2:53 am

Hey @spacedoubt, have you read this article? I think it will help. If you have the full version, because it requires families.

Edit: link
https://www.scirra.com/tutorials/556/un ... o-families
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Tue Aug 12, 2014 3:03 am

I had a feeling you were going to say that..
Still a couple weeks before I'll be able to get the license.
Sad, I know.

I don't suppose there's any fairly simple way to pull this off without families? I'm guessing not.
(started coming up with some pretty overly complex ways, heh)

Good read, though, @codah
I'll be ready when the time comes!

Thanks, guys!
B
86
S
43
G
71
Posts: 601
Reputation: 43,619

Post » Tue Aug 12, 2014 3:17 am

They were really clever in choosing which features to release & which ones to release only to licensed users. Since I got mine, I can't believe how much I love just being able to shut down the program without waiting 3 seconds...devious bastards
Phase 1: Collect Underpants.
Phase 2: ????
Phase 3: Profit!
B
16
S
5
G
4
Posts: 106
Reputation: 2,450

Post » Tue Aug 12, 2014 3:31 am

Haha! It really is brilliant. Every time it happens, I can't help but think I deserve it...
B
86
S
43
G
71
Posts: 601
Reputation: 43,619

Post » Tue Aug 12, 2014 4:02 am

The moral is, don't pick your nose(s)!
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Tue Aug 12, 2014 4:08 am

Funny, you'd say that @codah I finally accomplished what I wanted by taking a different route entirely.
No picking involved! (though I was never actually using noses)

Game idea: "Pick 'em and eat 'em!"

What..? It's about fruit...
B
86
S
43
G
71
Posts: 601
Reputation: 43,619


Return to How do I....?

Who is online

Users browsing this forum: jorgmaquoi, tarek2 and 11 guests