Before you start, please note that english is not my mother tongue. Thus, there are certainly some mistakes and nonsenses in this tutorial. I did my best, but still. If anyone notices such mistakes, please signal it to me as soon as you can. I want to make you learn some stuff, not to burn your eyes. That's being said, let's get started.
Samples and demo CAPX are available on the last page. Have a good reading.
Lighting and Construct 2 : a love story
As awesome as Construct 2 can be, it currently doesn't have any real way to deal with dynamic lighting. Is it a real problem and should we blame Scirra for it ?
Certainly not. Dynamic lighting is originally something made for 3D games only, and as you know, Construct 2 is a 2D game engine. Plus, Scirra has already provided some features to play with light sources and shadows thanks to the Shadow caster behavior. If you’re interested in this feature, you can already find some tutorials about it and various examples of use are available in C2.
In this tutorial, we will not consider that kind of lighting, but this one :
This is a basic example of the results you can get with dynamic lighting on C2.
As you can see, it could be really awesome and useful for your game’s atmosphere. In this tutorial, we’re going to see how to use that in Construct 2 despite the absence of a native feature, we will explore the different alternatives, plugins and tools available, their pros, their cons, how they work in general and how to implement everything easily. Are you ready ? Here we go.