[Tutorial] A real dynamic light system

Discussion and feedback on Construct 2

Post » Fri Dec 23, 2016 10:53 pm

The tutorial is online : https://www.scirra.com/tutorials/9401/enlighten-your-games-with-a-dynamic-lighting/page-1

Please signal me any mistakes. The demo capX is available on the last page. Have a good reading !

EDIT : The screenshots issue is fixed. I'm currently working on a french version.
B
15
S
3
Posts: 86
Reputation: 1,430

Post » Mon Dec 26, 2016 7:28 pm

LeuNoeleeste wrote:The tutorial is online : https://www.scirra.com/tutorials/9401/enlighten-your-games-with-a-dynamic-lighting/page-1

Please signal me any mistakes. The demo capX is available on the last page. Have a good reading !

EDIT : The screenshots issue is fixed. I'm currently working on a french version.

I found 2 errors in your tutorial:
- You misspelled "future" as "futur" in the Sprite DLight section.
- You wrote "normal map are required" instead of "normal maps are required" or "a normal map is required" in the Normal Maps and Construct 2 section.
B
125
S
33
G
17
Posts: 1,518
Reputation: 20,333

Post » Mon Dec 26, 2016 8:04 pm

LeuNoeleeste wrote:The tutorial is online : https://www.scirra.com/tutorials/9401/enlighten-your-games-with-a-dynamic-lighting/page-1

Please signal me any mistakes. The demo capX is available on the last page. Have a good reading !

EDIT : The screenshots issue is fixed. I'm currently working on a french version.

Great tutorial, you managed to show me some new tools I've not heard of previously.
B
51
S
26
G
8
Posts: 121
Reputation: 8,501

Post » Mon Dec 26, 2016 8:32 pm

@glerikud Thanks, I'm gonna fix this as soon as I can !

@adcornaglia I'm glad to read that !

EDIT : The french version is online too
B
15
S
3
Posts: 86
Reputation: 1,430

Post » Tue Dec 27, 2016 8:21 pm

I'll write a new page to describe the process to edit one of the effects and add a new light source in it (so you can add as many sources as you want). Gonna do that when I'll have the time. A lot of mistakes are gone too, thanks to various people.
B
15
S
3
Posts: 86
Reputation: 1,430

Post » Fri Jan 06, 2017 4:15 pm

@LeuNoeleeste Can you update the links in your tutorial for the effects? The second last doesn't have a download link (or maybe I just missed), and the last effect's link gives a 404 error. Thank you.
B
125
S
33
G
17
Posts: 1,518
Reputation: 20,333

Post » Sat Jan 07, 2017 9:30 pm

@glerikud Oh damn, yeah I'll fix that right now, thanks for warning me.

The BumpMapping Effect doesn't have any link because it's directly provided by Construct 2. You have nothing to add.
B
15
S
3
Posts: 86
Reputation: 1,430

Post » Sun Jan 08, 2017 4:17 pm

LeuNoeleeste wrote:@glerikud Oh damn, yeah I'll fix that right now, thanks for warning me.

The BumpMapping Effect doesn't have any link because it's directly provided by Construct 2. You have nothing to add.

Thank you! It was my mistake on the BumpMapping Effect then.
B
125
S
33
G
17
Posts: 1,518
Reputation: 20,333

Post » Tue Jan 10, 2017 1:16 am

Thanks for the tutorial. It does show that C2 still does have limitations - I would like to see any number of lights in a game level, which does not seem to be possible at the moment.

I have been looking into Godot as a potential development option for my next game, and their isometric dynamically lighted 2d level demo is quite impressive. I hope C3 will allow us to work with both isometric and dynamic lighted games.
Win7 64- i7 [email protected], p6t Deluxe v1, 48gb, ATI 7970 3gb, EVGA 590 3GB, Revodrive X2 240gb, e-mu 1820. Screens: 2 x Samsung s27a850ds 2560x1440, HP 1920x1200 in portrait mode
B
30
S
10
G
8
Posts: 170
Reputation: 7,074

Post » Thu Jan 12, 2017 3:55 pm

Thanks for the tutorial. It does show that C2 still does have limitations - I would like to see any number of lights in a game level, which does not seem to be possible at the moment.


You welcome, mate. I like to see C2 as the best 2D tool game engine/tool available for now, if we don't consider 3D games made with Unity in 2D style. The said tool is great in vanilla, and his flaws are often compensated by the community. Maybe C3 will provide a way to deal with dynamic lighthing easily, for now, you can work with it on Construct 2 by using one of the various effects described in the tutorial anyway. Once my finals are over, I'll add a new page to explain how to custom the Matriax's effect so you can add as many light sources as you want, using Javascript. This is why the community is so important, it can replace limitations by possibilities.

Yes, it's somewhat tricky and certainly not as easy as something made by Scirra themselves, but at least, it's right there and it works :)
B
15
S
3
Posts: 86
Reputation: 1,430

PreviousNext

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 6 guests