How do I make a visual rpg z depth with collision

Get help using Construct 2

Post » Sun May 14, 2017 1:38 am

Hi guys,

I'm creating a prototype rpg game, I've been figuring out for days on how I can have the proper z order with collision for the player and other objects.

I've been scouring the net for any info about this topic, but haven't found any.

Any help would be very much appreciated especially with capx example. thanks

Image
B
46
S
14
G
20
Posts: 86
Reputation: 12,886

Post » Sun May 14, 2017 2:41 am

The simplest way involves using a small invisible sprite at the base of the tree with collisions enabled. The tree is just a visual placeholder. You can use the system sort Z order by the player and tree's y values.
Mistakes were made.
B
49
S
24
G
107
Posts: 1,581
Reputation: 60,303

Post » Mon May 15, 2017 3:40 am

oosyrag wrote:The simplest way involves using a small invisible sprite at the base of the tree with collisions enabled. The tree is just a visual placeholder. You can use the system sort Z order by the player and tree's y values.


Thanks for the idea man, just tested it, and it's working. :D
B
46
S
14
G
20
Posts: 86
Reputation: 12,886


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, Allardje, R0J0hound, Rudi55, sublimate, Vinterstille and 1 guest