Moving behind tall objects in top down/isometric

Get help using Construct 2

Post » Sun Jun 17, 2012 8:35 am

Hi there,

Sorry if this has been asked before but I'm having trouble finding an existing thread about this. Could be using the wrong keywords...

Say you are making an isometric game, and there's a building in the middle. Supposedly if your character walks in front of the building you can see your character, and if your character walks behind the building you can't see him. Is there a way to do this "hiding" transition in-between walking behind the building, without abruptly turning your character's visibility off when you haven't completely walked over to the back of the building?
B
19
S
6
G
1
Posts: 116
Reputation: 2,730

Post » Sun Jun 17, 2012 9:02 am

Here is an example (including a capx), hope it is what you are looking for.
B
20
S
5
G
4
Posts: 51
Reputation: 4,139

Post » Sun Jun 17, 2012 12:43 pm

i think you need layers or you can use events to set which layer and button or front like this :
system:on start of layout --> player or building set layer.
B
48
S
15
G
6
Posts: 795
Reputation: 12,035

Post » Sun Jun 17, 2012 6:24 pm

No need for layers, if you use families, and for each ordered.
family iso
Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Post » Sun Jun 17, 2012 6:33 pm

@newt , i don't think he can use families...
B
48
S
15
G
6
Posts: 795
Reputation: 12,035

Post » Sun Jun 17, 2012 7:12 pm

Ok.
Well the work around would be to add all the images to one sprite then.
iso no family

Would not suggest using a lot of frames.
Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Post » Sun Jun 17, 2012 10:34 pm

Oh sorry I forgot to mention I do have the standard license, so I can use families.

Thanks guys!
B
19
S
6
G
1
Posts: 116
Reputation: 2,730


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 3 guests