
While in Edit mode, press Ctrl + Z while you have a plugin area selected or hovered over to undo drag or resize actions applied to it.Ĭhanging the position, size or on/off state of any of the movable areas will automatically generate a config file (MovablePluginConfig. While in Edit mode, press Ctrl + X while you have a plugin area selected or hovered over to toggle that area display on or off. Not all areas are resizable, just depends on the plugin and whether or not it does the extra size calculations. There are 4 Resize modes that plugins can specify: On (free resize), Fixed Ratio, Horizontal, and Vertical. Hovering over them will show what sort of resizing you can do. While in Edit mode, hovering over a resizable plugin area shows little triangle corners on the bottom left and bottom right of the outline. Alternatively, because clicking around on the screen causes your character to move around or perform actions, you can press Ctrl+C to simulate a mouse click. You can drag and drop them freely while in this mode. Press F12 to toggle Edit Mode on, which shows outlines of all the movable plugin display areas on the screen.
MOVABLE LIBRARY STACKS HOW TO
After a few iterations and a game-changing tip about how to detect mouse clicks (thanks, Dys!), I turned it into a separate system to make it easier to write standalone plugins where you can drag, resize, and toggle the display on or off in-game and then save those modifications.Įach plugin doesn't have to do it's own handling of mouse or key presses, and it doesn't have to define yet another hotkey for toggling stuff on or off, it can just focus on drawing data on the screen.

While working on RunStats v2, I started to play around with implementing plugins that can be moved around on the screen dynamically.
