Difference between revisions of "Custom Sheet Sandbox"
From Roll20 Wiki
Andreas J. (Talk | contribs) m |
Andreas J. (Talk | contribs) m (→Related Pages) |
||
Line 74: | Line 74: | ||
* Sheet Sandbox: | * Sheet Sandbox: | ||
** '''[https://app.roll20.net/sheetsandbox app.roll20.net/sheetsandbox]''' (Must be logged in with a {{Pro}} account) | ** '''[https://app.roll20.net/sheetsandbox app.roll20.net/sheetsandbox]''' (Must be logged in with a {{Pro}} account) | ||
− | + | ** {{blog|190896818595/new-pro-feature-custom-sheet-sandbox New Pro Feature: Custom Sheet Sandbox}} - Roll20 Blog Feb 2020 | |
− | ** {{blog|190896818595/new-pro-feature-custom-sheet-sandbox New Pro Feature: Custom Sheet Sandbox}} - Roll20 Blog | + | ** {{fpl|8138452/ Custom Sheet Sandbox Release - Thread}} |
* [[Building Character Sheets]] | * [[Building Character Sheets]] | ||
** [[Sheet Author Tips]] | ** [[Sheet Author Tips]] |
Revision as of 16:10, 24 April 2021
This is about a Roll20 feature exclusive to Pro-subscribers (and often to players in a Game created by a Pro-subscriber). If you'd like to use this feature, consider upgrading your account. |
Main Article: Building Character Sheets
The Custom Sheet Sandbox is exactly that -- a trimmed-down "sandbox" for you to test in when creating custom sheets, and is an improvement of the existing Custom Sheet Editor for Sheet Authors.
Direct url to the sandbox: https://app.roll20.net/sheetsandbox (great to bookmark for sheet authors)
Please Note: You will need to store your custom sheet HTML
, CSS
, and translation.json
-files to your computer in order to use this feature, as you're uploading files, not copy-pasting code.
Many Sheet Authors use text editors aimed at coding, like Visual Studio Code, Sublime Text 3 or Notepad++, to edit these files.
Character Sheet Development
Getting Started
- Using Custom Sheets
- Building Sheets
(Main Page) - Glossary
- Code Restrictions
- Best Practice
- Common Mistakes
- Tutorials
- Examples, Templates
- Pattern Libraries
- HTML & storing data
- CSS & Styling
General
- Updates & Changelog
- Known Bugs
- Character Sheet Enhancement(CSE)
- Custom Roll Parsing
- Legacy Sheet(LCS)
- Beacon SDK
Reference
- Buttons
- Repeating Sections
- Sheetworkers
- Roll Templates
- sheet.json
- Translation
- Auto-Calc
- Advanced
- All SheetDev Pages
Tools & Tips
- Sheet Sandbox
- Sheet Editor
- Sheet Dev Tools
- Sheet Author Tips
Other
Contents |
Limitations
Custom Sheet Sandbox games have the following limitations:
- You are the only player who can access the sandbox. You can't invite others into your sandbox game.
- There is only one page in the game, and there is no way to create additional pages.
- There is no Video or Voice chat in the game.
- You can only have 15 Custom Sheet Sandboxes at any given time.
- The sandbox cannot be made to remember the location of your file or working folder; that's a security limitation on your web browser, and not something Roll20 can change.
- However, browsers(at least Firefox) will remember what folder you uploaded from during this session, so after having uploaded the first time, the menu will open up in the same folder subsequent times, making it quicker to update the sheet in the sandbox than using the Sheet Editor
- This is a Proinfo subscriber feature only.
Benefits over Normal Sheet Editor
- Faster test iteration
- Enables testing Default Sheet Settings of your
sheet.json
before submitting to Roll20 - If using a Text Editor on your computer to develop the sheet, it removed the constant need from the copy-pasting code to update the Sheet Editor
Use
As a Pro user, you will notice a new button called "Custom Sheet Sandbox" at the top of your Homepage when you log in. A similar button (shown below) appears in the My Games-section.
Click the Create New Game button. You'll get a new sandbox game.
You can launch the game right away, or paste in your sheet.json
-file if you already have one for your your sheet.
If using Legacy Sheet code, add this to the Sheet.json editor(if you don't have a full Sheet.json):
{ "legacy": true }
If using Character Sheet Enhancement(CSE) code, add this to the Sheet.json editor(if you don't have a full Sheet.json):
{ "legacy": false }
Once in the game, you'll see there's a floating box with buttons to upload HTML, CSS, and translation files.
Clicking any of these opens a dialog box to upload the relevant file from your hard drive. As soon as the file finishes uploading, all characters in the game will be updated to the new source file. You no longer need to reload the whole VTT to see changes.
If you have your game settings page open in a second browser window, you can upload a new sheet.json file in that window and, from inside the VTT, you can click "Reload Sheet Default Settings" to have that sheet.json
-file update, again without reloading the full page.
API
The Custom Sheet Sandbox does include support for API scripts. Please note, however, that API scripts that interact with elements of the VTT that are disabled (such as other players, pages, etc.) won't work in these games. However, there is an API sandbox for the game, so you can test out sheet-affecting APIs before using or releasing your sheet.
Related Pages
- Custom Sheet Editor is the less practical alternative to using Sheet Sandbox for sheet development
- Sheet Sandbox:
- app.roll20.net/sheetsandbox (Must be logged in with a Proinfo account)
- New Pro Feature: Custom Sheet Sandbox(Blog, Archived) - Roll20 Blog Feb 2020
- Custom Sheet Sandbox Release - Thread(Forum)
- app.roll20.net/sheetsandbox (Must be logged in with a
- Building Character Sheets