[Solved] Walking infront and behind trees.

Get help using Construct 2

Post » Fri Feb 21, 2014 10:07 pm

https://dl.dropboxusercontent.com/u/446 ... Trees.capx

Worked out this method... But i have the strangest feeling that someone has probably thought up a much better method, not involving a million layers :)
Last edited by Crazeh on Fri Feb 21, 2014 10:54 pm, edited 1 time in total.
B
13
S
2
G
1
Posts: 29
Reputation: 1,377

Post » Fri Feb 21, 2014 10:11 pm

Can't check the Capx currently but from past conversations the way to do this in a isometric or top down type of game is to compare the players Y with the tree then move the tree to the layer in front or behind the player. Only needs 3 layers for that...
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,583

Post » Fri Feb 21, 2014 10:27 pm

Image Seems to work. How do i apply this to only happen to the tree in question? with partly overlapping trees, it became a bit odd :)
B
13
S
2
G
1
Posts: 29
Reputation: 1,377

Post » Fri Feb 21, 2014 10:33 pm

B
71
S
22
G
241
Posts: 3,734
Reputation: 134,494

Post » Fri Feb 21, 2014 10:37 pm

Ah, sweet! Thank you, Thank you! <3
B
13
S
2
G
1
Posts: 29
Reputation: 1,377


Return to How do I....?

Who is online

Users browsing this forum: divsyntax, volumetv and 15 guests