light radius + tilemap not working

Discussion and feedback on Construct 2

Post » Sun Apr 16, 2017 4:07 am

Im making a game that uses tilemaps for the walls, if you guys go, make a tilemap, give it the shadow caster property and make a fine 8*(8*x) line and put a light next to it, it will look fine, but if you give it a 1 radius, you can see how the light is going through the small spaces between tile and tile, it gets worse the bigger the radius

is there a better solution than using one long rectangle to block light or copy/paste the shadow caster tilemap and move it 1pix to the left and up?
B
8
S
2
Posts: 38
Reputation: 578

Post » Sun Apr 16, 2017 4:18 am

htt #p://ge #.tt/81I #zMhj #2

capx file, remove the space and # and you have the link
B
8
S
2
Posts: 38
Reputation: 578

Post » Sun Apr 16, 2017 5:38 am

Not sure if this would be a solution for you but in the ShadowLight object, change 'Light radius' to zero.
Zelda Gamekit (my project)



Example capxs:

Zelda-Style Inventory

Zelda Health

3-saveslot system

[url=https://www.dropbox.com/s/d4396pwak0oh7q6/ZeldaDialogueSystem.capx?dl=0]Zelda-like Dialogue[
B
51
S
24
G
30
Posts: 534
Reputation: 19,620

Post » Sun Apr 16, 2017 3:53 pm

I know it works like that, but Im looking for a smooth shadow with tilemap, and it seems its not possible, no one knows how to bypass the small space between tiles?
B
8
S
2
Posts: 38
Reputation: 578

Post » Sun Apr 16, 2017 4:11 pm

yeah, I give up, tilemap with shade caster is too flawed to use, Ill have to use big ass squares for it to work properly
B
8
S
2
Posts: 38
Reputation: 578


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 9 guests