module

Canvas Fade In and Out

Endorsements
0
Installs
0.097%
Comments
0
Latest version1.2.2
Minimum Core10
Compatible Core12
Last updated11 minutes ago
Created1 year ago
Authors
Languages
Systems All systems
Project source Project URL

This module allows for easy hiding of the canvas for players. It has options for setting the background and fade duration to customize the experience. Players will not be able to see or interract with the canvas whiel it is faded out.

Here is an example macro that will toggle a fade of the canvas to grey over 1 second.

await game.settings.set('canvas-fade-in-out', 'background', 'black')
await game.settings.set('canvas-fade-in-out', 'duration', 1000)
await game.settings.set('canvas-fade-in-out', 'visible', !game.settings.get('canvas-fade-in-out', 'visible'))
ui.notifications.notify(`Canvas ${game.settings.get('canvas-fade-in-out', 'visible')?'is':'is not'} visible to players`)

demo

Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x