Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I'm learning about Godot, and I am wondering if by any chance you could give me a hint where exactly the code for the fading of the burn marks is found and how it works. I tried turning off the code in _process() and in _on_timer_clear_timeout() in game/floor.gd, but the fading still happens, so it's not that code. 

hi, is not managed by code but by a semi transparent background on the viewport, basically the viewport never clears the background so the marks persist forever without having to keep track of it in cpu, i think a black color rect slowly fades the marks instead

That was my guess, but I can't find the code for the black color rect fading the marks.

just by being there it will fade the marks, u may be able to change the fade rate by setting the transparency of that rect