Shadow Casting does not work properly

Bugs will be moved here once resolved.

Post » Sat Mar 26, 2016 6:17 pm

Problem Description
Shadow Casting does not work properly on scripts with high polygons.

Attach a Capx
http://s000.tinyupload.com/index.php?fi ... 7019621485

Description of Capx
Move around Shadow Casting objects to see the shadows.

Steps to Reproduce Bug
Move the Black object with arrow keys (Light is pined to the black object), around the Shadow Casting object and you would see the problem.

Observed Result
Shadow does not cast properly

Expected Result
Shadow casts properly

Affected Browsers
  • Chrome: (YES)
  • FireFox: (YES)
  • NW.js: (YES)

Operating System and Service Pack
Win 10 64bit

Construct 2 Version ID
r211 Stable
B
45
S
19
G
3
Posts: 102
Reputation: 4,598

Post » Sat Mar 26, 2016 7:51 pm

Not a bug.
It's made to work with simple shapes only.
https://www.scirra.com/manual/178/shadow-light
See where it says convex collision polygons?
Image ImageImage
B
172
S
50
G
183
Posts: 8,439
Reputation: 115,597

Post » Fri Apr 01, 2016 1:26 pm

Yeah, this is a documented limitation, not a bug.
Scirra Founder
B
402
S
238
G
89
Posts: 24,632
Reputation: 196,031


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests