Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

I have a camera object in my game that sets up the display size, window size, application size, etc. Will this lighting system override any of that?

Also, can I set it up so the flashlight is blocked by walls? I want my player to need to creep around corners before seeing what is there.

Hi there!

1) The renderer will find your default camera and render to it automatically.
2) The demo scene has an example where the player controller is using a flashlight that is properly blocked by walls!

If you have any issues, just let me know.

Thank you for the quick reply. I'm at work and tried to look through documention using my phone quick. I have another question. Can I create custom dark areas in a room that has buildings I can enter? Let's say I don't want the entire room to be dark, but only a 300x300 pixel area. Is that possible? Is it easy to shut the system off in rooms where my player is outside during day when light is not needed?

(1 edit)

The current system works with light sources and occluder objects (to create shadows). You place lights and give them a radius and you place occluder objects where you want to block light. The shadow system renders the entire scene dark except for where there are lights or where light is blocked. You can control ambient darkness with a single global variable that makes the entire scene lighter or darker, and I've included a day/night cycle variable to help with this.

And yes, turning off the system is easy: you simply disable the light renderer and the room will be unlit. 

(1 edit)

I pulled the trigger and bought your asset pack! I'm excited to try it out.  EDIT: I'm trying to import the package but its saying "error". I'm using the latest version of gamemaker studio. 

It seems itch.io was sending people an old, outdated version of the asset. You should have a .zip file that contains the updated yymps file. Please use that.

I downloaded the zip file, unzipped it, tried to import the new yymps file, but it is still throwing errors. When I zip that yymps and then open it I am finding a demo yyp file within it and I think that it throwing the error