REDNODE / DOCS

UI kit

Example apps / kit / v0.1.0

Overlay appIn the download

Every control in the REDnode UI kit on one page: buttons, toggles, sliders, inputs, progress bars, lists, menus, tabs, tooltips and notifications.

Simulated game
Mod log

    The Sound tab plays a tone instead of the game's sound events, which only exist in the game.

    How it works

    An overlay app is a web page. Load the kit with <script src="rednode://ui/rednode-ui.js"> and write its custom elements as markup; they look like REDnode and play the game's UI sounds.

    The page is transparent: only rn-window draws a frame, and the game shows everywhere else. Clicks on transparent areas pass through to the game.

    app.js only wires events: each control sends a DOM event (click, change, input, select, submit) with its value in e.detail.

    What it uses

    rn-window rn-tabs rn-button rn-toggle rn-slider rn-input rn-progress rn-list rn-menu rn-tooltip RednodeUI.notify theme

    Try this

    Use it

    Copy the files into red4ext/plugins/REDnode/apps/kit/ in the game folder, or start your own package from them: change id and name in the manifest first. The whole folder is on GitHub.