Skip to main content

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

I had much fun with the different stories hahaha

(+1)

I’m glad! I was trying out yours and I thought it was a really clever use of mechanics! A group I’m in want to do something similar in terms of a button changing the games visuals so it made me get to wondering about implementation! Was it a “set active” on input sorta deal?

Awesome! Actually, it is an interface implemented for tiles, the player, and hazards. It sets the color alpha to 0, that way the colliders keep interacting even though you don't see the object.
It has two methods, one is the one being called when the player presses the button. This activates the "superpower" and then, with an invoke to delay it, calls the deactivation method of it