![]() ![]() It seems like everything is working in your example, although I noticed that the time you passed to setTimeout is very short (only 10 milliseconds), such that testing flickers in and out so fast you might not see it. If (chatInputElement & chatButtonElement) `) Script.js document.querySelector("button#myButton").addEventListener("click", postToChat) Ĭonst chatInputElement = document.querySelector('#textchat-input textarea') Ĭonst chatButtonElement = document.querySelector('#textchat-input. Even: const foo = document.querySelector('#textchat-input') I know this is possible because Beyond20 does it. I've tried a number of ways of selecting the elements in question. Original content starts here - I'm trying to get a simple chrome extension to inject into roll20's text area. Useful if you tend to run experimental GPU drivers or if you think your GPU is not being recognized for some reason.This post was edited and submitted for review 9 days ago.ĮDIT - I provided a streamlined code below as well as an issue reported to the console. Override software rendering list: This allows GPU acceleration on unsupported configurations.To view the Flags section, type "chrome://flags/" in the address field. However please note that these are advanced settings and in certain cases can cause degradation or unexpected behaviors. In very complex maps (such as cave systems) we recommend using the polygon tool instead of the freehand tool to limit the number of individual lines and vertices.Ĭhrome has adjustable flags that may improve performance on some systems. Performance impact of the Draw tool is most noticeable on the Dynamic Lighting layer where each line must also be calculated in conjunction with Line of Sight and Advanced Fog of War. However, in some instances, intensive use of the tool can create a large number of objects on the map that can begin to impact performance. The performance impact of the Draw tool is by and large very small. Where possible, try to break up larger encounters or activities across several pages to improve performance. This can also be highly subjective to the individual systems used by players in your game. As the map size increases, the effective area that must be rendered increases which can negatively impact performance. Maps or pages are typically recommended to be 25x25. The fewer assets that must be rendered individually the better performance will be. Try to utilize small numbers of images where possible or utilize an external program to construct whole maps that can be uploaded as one image. Utilize the Transmogrifier available to Pro Subscribers to quickly move characters in and out of games as needed.Įvery image or asset uploaded and used on the VTT can increase game size and impact performance.NOTE: Archiving a character sheet does NOT reduce game size.Removing/Deleting old or unused sheets.Finding ways to limit the number of active sheets in the game can help improve performance for everyone playing. Every field and calculation taking place on the sheet is adding additional data to your game. Limit the number of Character Journal EntriesĬharacter sheets can get very large very fast. These settings typically require additional render processing that may be impacting performance too much:Įxperimenting with these settings can help in finding the ideal configuration for you and your players. To check this, you may need to check/uncheck the "Use recommended performance settings" option.īelow are some options available that can be toggled to often improve performance.Navigate to "about:preferences#general".Ensure the setting "Use hardware acceleration when available" is enabled.Hardware acceleration within the browser is one of the best ways to improve performance while using the Roll20 VTT - Especially when using features such as Dynamic Lighting.īelow offers some assistance on finding and activating Hardware Acceleration The better your graphics rendering performance, the smoother your experience should be. For best results we suggest checking the Roll20 System Recommendations. Playing on an underpowered machine may cause you to experience jerky or unresponsive performance. The screen is constantly being redrawn, so this document is to assist with troubleshooting these graphical performance issues. For instance, a token being moved seeming slower, zoom functions loading slowly, or the play area seeming blank while scrolling/panning around the map. Graphics performance issues are often related to slow frame rates or visual lags. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |