Skip to main content

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

Wow! I don't even know what to write for this game. How did you coded the light kills dark?

It's actually really simple! Everything that is out of the line of sight of the white ball (light caster) is in the shadow. So just check if black is in LOS of white 🙏

Hm so if i understand correctly, you are creating single raycast to the dark ball and check if it is visible?