About
This module basically pauses the game upon call, takes a screenshot, and then draws that screenshot onto the screen as an overlay, with a nice touch of fade animation.
You enter the grayscale pause using the grayscale.FadeIn() function. Then you can show other elements on screen such as GUIs or close-up graphics for the player to interact with. When you're done, you exit from it using the grayscale.FadeOut() function, which fades back to full color and unpause the game.
This is the first module that I've created in AGS and I'm happily sharing it so everyone could enjoy and use it.
This module couldn't be done without the help of @Nahuel and @Crimson Wizard who assisted and directed me in the right way to making it work - thanks guys! I've credited you both in the module.
The idea behind making this module was to reproduce the same effect that exist in an old adventure game that I'm currently re-reproducing with captions, called "The Riddle of Master Lu" - in that game, when you opened GUIs during gameplay or examined inventory items which showed a close-up graphic of them, the entire screen went grayscale so the player won't be distracted by the surrounding but only by the specific GUI or close-up graphic that was opened.
Attached an example how this module looks like in my reproduction game:
You may download the module from my personal dropbox.
Module was updated with the MIT license agreement as suggested in the forum guidelines. It is free for non-commercial AND commercial use - only request is to please credit authors if used.
Enjoy!
Changelog
=========
Version: 1.2.0
Released: 20th Septembre 2023
Notes: Added Original User GUI Hidden and Visible again during FadeIn/Out
Version: 1.1.0
Released: 20th Septembre 2023
Notes: Added TweenModule compatibility & Licence to header. by Nahuel
Version: 1.0.1
Released: 19th Septembre 2023
Notes: Added license. by Gal Shemesh.
Version: 1.0.0
Released: 19h Septembre 2023
Notes: Initial release. by Gal Shemesh
This module basically pauses the game upon call, takes a screenshot, and then draws that screenshot onto the screen as an overlay, with a nice touch of fade animation.
You enter the grayscale pause using the grayscale.FadeIn() function. Then you can show other elements on screen such as GUIs or close-up graphics for the player to interact with. When you're done, you exit from it using the grayscale.FadeOut() function, which fades back to full color and unpause the game.
This is the first module that I've created in AGS and I'm happily sharing it so everyone could enjoy and use it.
This module couldn't be done without the help of @Nahuel and @Crimson Wizard who assisted and directed me in the right way to making it work - thanks guys! I've credited you both in the module.
The idea behind making this module was to reproduce the same effect that exist in an old adventure game that I'm currently re-reproducing with captions, called "The Riddle of Master Lu" - in that game, when you opened GUIs during gameplay or examined inventory items which showed a close-up graphic of them, the entire screen went grayscale so the player won't be distracted by the surrounding but only by the specific GUI or close-up graphic that was opened.
Attached an example how this module looks like in my reproduction game:
You may download the module from my personal dropbox.
Module was updated with the MIT license agreement as suggested in the forum guidelines. It is free for non-commercial AND commercial use - only request is to please credit authors if used.
Enjoy!
Changelog
=========
Version: 1.2.0
Released: 20th Septembre 2023
Notes: Added Original User GUI Hidden and Visible again during FadeIn/Out
Version: 1.1.0
Released: 20th Septembre 2023
Notes: Added TweenModule compatibility & Licence to header. by Nahuel
Version: 1.0.1
Released: 19th Septembre 2023
Notes: Added license. by Gal Shemesh.
Version: 1.0.0
Released: 19h Septembre 2023
Notes: Initial release. by Gal Shemesh