Register

Scene Transitions

An Add-on Module for Foundry Virtual Tabletop

Author: 4535992 Project Source: Project URL Versions 11 - 11 (Verified 11) Last Updated 1 year, 3 months ago

Scene Transitions

If you want to buy me a coffee alt-text

Allows GM to make simple transitions to show players before navigating to new screen. Can be used for narrative effect. Can now be used with macros to create transitionless Transitions. And journal entries can now be used to generate a Transition.

img1

img4

img2

img3

Installation

It's always easiest to install modules from the in game add-on browser.

To install this module manually:

  1. Inside the Foundry "Configuration and Setup" screen, click "Add-on Modules"
  2. Click "Install Module"
  3. In the "Manifest URL" field, paste the following url: https://raw.githubusercontent.com/p4535992/foundryvtt-scene-transitions/master/src/module.json
  4. Click 'Install' and wait for installation to complete
  5. Don't forget to enable the module in game using the "Manage Module" button

libwrapper

This module uses the libwrapper library like a dependency. It is a hard dependency and it is recommended for the best experience and compatibility with other modules.

socketLib

This module uses the socketLib library like a dependency. It is a hard dependency and it is recommended for the best experience and compatibility with other modules.

Feature

Use the context menu on the navigator or directory to 'Create Transition'

Add background image, text, and configure to your liking and save. When you want to play it, bring up context menu and press 'Play Transition' 

Transition will play and begin preloading scene. Scene will activate underneath transition. 

Use the textbox sourcecode editor to add custom html and override default css.

Api

game.modules.get('scene-transitions').api.macro({
	sceneID: false, // To play a transition without a scene activation, simple pass `false` as the sceneID in the data object or use the string id of the scene.
	content:"TEST MACRO",
	fontColor:'#ffffff',
	fontSize:'28px',
	bgImg:'', // pass any relative or absolute image or video url here.
	bgPos:'center center',
    bgLoop: true, // Only for VIDEO, if true will loop the video
	bgMuted: true, // Only for VIDEO, if true will play the video muted
	bgSize:'cover',
	bgColor:'#333333',
	bgOpacity:0.7,
	fadeIn: 400, //how long to fade in
	delay:5000, //how long for transition to stay up
	fadeOut: 400, //how long to fade out
	audio: "", //path to audio file, NOTE: is not advisable to use this with a video and the property 'bgMuted = false'
	skippable:true, //Allows players to skip transition with a click before delay runs out.
    audioLoop: true, //Loop the audio file ?
	gmHide: true, // hide the transition on other windows logged in as a GM
	gmEndAll: true, // when the GM clicks to end the transition - end for everyone
	showUI: false, // Show the User Interface elements to all players allowing them to interact with character sheets etc
	activateScene: false, // Activate the scene when play the transation ?
	fromSocket: false, // This is usually a application variable for manage socket calls YOU DIDN'T NEED TO TOUCH THIS, MUST BE ALWAYS FALSE.
	users: [], // show the transaction to this list of users ids, NOTE: if 'showMe' is true the current user id is add to the list
}, true ); // show to the triggering user (the one who click to the macro usually the GM)

To play a transition without a scene activation, simple pass false as the sceneID in the data object.

Categories

Available Versions

  1. Version 0.5.3

    9 months, 3 weeks ago
    Foundry Version 11 - 11 (Verified 11) Manifest URL Read Notes
  2. Version 0.5.2

    9 months, 3 weeks ago
    Foundry Version 11 - 11 (Verified 11) Manifest URL Read Notes
  3. Version 0.5.1

    9 months, 3 weeks ago
    Foundry Version 11 - 11 (Verified 11) Manifest URL Read Notes
  4. Version 0.5.0

    1 year, 3 months ago
    Foundry Version 11 - 11 (Verified 11) Manifest URL Read Notes
  5. Version 0.4.10

    Foundry Version 10 - 10 (Verified 10) Manifest URL Read Notes
  6. Version 0.4.6

    Foundry Version 10 - 10 (Verified 10) Manifest URL Read Notes
  7. Version 0.4.5

    Foundry Version 10 - 10 (Verified 10) Manifest URL Read Notes
  8. Version 0.4.4

    Foundry Version 10 - 10 (Verified 10) Manifest URL Read Notes
  9. Version 0.4.3

    Foundry Version 9 - 10 (Verified 10) Manifest URL Read Notes
  10. Version 0.4.2

    Foundry Version 9 - 10 (Verified 10) Manifest URL Read Notes
  11. Version 0.4.1

    Foundry Version 9 - 10 (Verified 10) Manifest URL Read Notes
  12. Version 0.3.0

    Foundry Version 9.238 - 10 (Verified 9.238) Manifest URL Read Notes
  13. Version 0.2.1

    Foundry Version 0.7.9 - 10 (Verified 0.8.12) Manifest URL Read Notes
  14. Version 0.1.3

    Foundry Version 0.7.9 - 10 (Verified 0.8.6) Manifest URL Read Notes
  15. Version 0.1.2

    Foundry Version 0.7.9 - 10 (Verified 0.8.6) Manifest URL Read Notes
  16. Version 0.1.1

    Foundry Version 0.7.9 - 10 (Verified 0.8.6) Manifest URL Read Notes
  17. Version 0.0.9

    Foundry Version 0.7.9 - 10 (Verified 0.8.8) Manifest URL Read Notes
  18. Version 0.0.8

    Foundry Version 0.7.5 - 10 (Verified 0.8.8) Manifest URL Read Notes
  19. Version 0.0.7

    Foundry Version 0.6.6 - 10 (Verified 0.7.5) Manifest URL Read Notes
  20. Version 0.0.6

    Foundry Version 0.6.4 - 10 (Verified 0.6.6) Manifest URL Read Notes