Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Do you have any recommendations on handling a simple example as efficiently on performance as I can? I have a large room with a lot of shadow casters, and even when I have all the walls drawing shadows with submit_shadow_rect and static set to true, in the debugger I'm still seeing the shadow caster draw steps eating up most of my performance. My only goal is to make it so players can't see things behind walls as efficiently as possible

Hey there! You may need to disable them when they are out of view. Check out the docs for instance_deactivate_object: https://manual.gamemaker.io/lts/en/GameMaker_Language/GML_Reference/Asset_Manage...