How do I set an object up in the air to cast a proper shadow

Get help using Construct 2

Post » Wed Jun 10, 2015 8:41 pm

I'm new to Construct 2. Just playing around with a 3rd person/top down shooter.

I want to be able to construct a fence.
I want to have the fence cast a proper shadow. How do i set the z order or allow objects to not touch the ground.
I can set the height but i would like to set the start and ending height of an object.


Something like this:
Image
B
4
Posts: 12
Reputation: 226

Post » Thu Jun 11, 2015 6:54 am

I don't know what exactly you are trying to do, but the cast shadow function is better use for dynamics scenarios or games where the light source change places.

Depending on what you want to do it'll be easier and have better performance if you just draw the shadows as part of the background or the sprite itself
B
17
S
7
Posts: 280
Reputation: 2,522

Post » Thu Jun 11, 2015 7:14 am

@ironmanx @ashley construct 2 is a 2D editor, the z order doesn't represent the z-axis similar to other game dev platform (ahem Unity) . Instead Z order indicates the layer hierarchy. Summary: you cannot cast / use the shadow property that way.
sleep is only for the weak!
B
91
S
30
G
12
Posts: 139
Reputation: 11,992


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, Microbex, totoe and 18 guests