Enlighten your games with a dynamic lighting !

Index

Stats

10,308 visits, 31,583 views

Tools

Conclusion

This tutorial is over and you’re still alive, congratulations. Finally, despite its length, the procedure is always the same. The most difficult part is the selection of your tools. Everything else is nothing but effect configuration.

As said at the beginning, this tutorial will be regularly updated. If another effect is created someday, it will be presented there, with the others. If Construct 3 provides any way to work with dynamic lighting, it will be explained and exposed too. Of course, all your feedback and advice will enrich these future updates. Please don't forget to signal me any mistakes.

You can download the package required to build Bob's world here.

You can download the demo capX of this same little world here.

You can download a PDF version of this tutorial here.

Say goodbye Bob, they're leaving.

Oh wait, you can’t because you’re not alive, you silly sprite. Even if you were, you don’t have a mouth anyway. Too bad.

  • 4 Comments

  • Order by
Want to leave a comment? Login or Register an account!
  • LeuNoeleeste I ask because with a tutorial like this it is difficult to follow along without video. Also, I think it said somewhere in this tutorial that there is a limitation on lights? So using Matriarxs extension you can only have 3 lights in a scene?

    • Hello Borixsticks, sorry for replying this late, I hope you managed to keep going since then. Now to properly answer you, this tutorial is getting old, I plan to rewrite it with waaaay less fluff. There is no need to read the whole thing, just focus on Matriax's effect and you're good to go as far as Construct 2 goes, it remains the best option so far, even to these days, as it seems.

      However, it does have a limit : It can only handle 3 light sources. I had plan to write my own version of this extension, allowing the user to add more sources. It's still somewhere in the back of my mind, but I never got the required time to do it. In the meantime, you'll have to work around the 3-sources limit to add this kind of lightning in your current project or study the extension itself to make it versatile.

      Finally, I don't think a video would be useful. I'll simply rewrite the damn thing this summer so it takes less than 3 pages. It's a painful read in its current state.

  • Just putting this out there in case someone is struggling to get Matriax's plugin to work properly and is reading the comments..

    Setting light to mouse coordinates wasn't working for me at first, so here's what I did to get it working as intended.

    Project Settings:

    -> Use High-DPI Display: NO

    In the events - Set X and Y resolution to WindowWidth and WindowHeight.

    Like this:

    Every Tick -> Maps_Obj_Family -> Set Effect Parameter:

    Parameter Number 44, Value: WindowWidth

    Parameter Number 55, Value: WindowHeight

    Now you can toggle fullscreen and use different scales without a problem.

  • LeuNoeleeste Is there a version of this tutorial in the form of a video?