Skip to main content

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

Disable FAUXTON when a room change

A topic by Scario88 created Apr 26, 2023 Views: 209 Replies: 2
Viewing posts 1 to 3
(+1)

Hello! I would like to switch bewteen two room, one with Fauxton and another one without it. How can I "reset" the room to not inherit anything? 
Thank you!

You can try by destroying the instance of RenderPipeline using instance_destroy(RenderPipeline) or turning off the persistence of the RenderPipeline object. This will mean, however, that you need to put FAUXTON_START inside of any rooms that need to use fauxton.

It doesn't seem to work properly: if I put instance_destroy(RenderPipeline) in a Create Room event, it seems like the application surface or the draw events doesn't work anymore , because I see a "screenshot" of the previous room, but I can see, for example, my show_debug_message so I think that the rest of the game works correctly.