sorting objects on the Z axis

Get help using Construct 2

Post » Sat Mar 03, 2012 2:16 pm

hi all!
I already posted a question about something similar, but my question was not precise enough so here we go again :D

So, previously I wanted to sort an object on the z axis to click and interact with it, but I forgot to mention that I will have many various object with different value to take in count (for scoring and randomize purpose), but right now every object are clicked in the same time which is not my goal.

you can see what that does here:
http://www.handscandance.com/treasure/



Is there a way to define which object are on the top of all?

as a personal note, I really enjoy construct 2, i wish I will master it more!
thanks!
B
11
S
4
G
4
Posts: 13
Reputation: 3,177

Post » Sat Mar 03, 2012 6:27 pm

Pick the top of each object type and then only pick the object with the highest z index.

http://dl.dropbox.com/u/5426011/examples%209/top_of_many_object_types.capx
B
79
S
24
G
52
Posts: 4,725
Reputation: 39,713

Post » Mon Mar 05, 2012 12:27 pm

Thanks R0J0hound, I can't check that now but that look perfect!
B
11
S
4
G
4
Posts: 13
Reputation: 3,177


Return to How do I....?

Who is online

Users browsing this forum: adi pratama and 27 guests