UI Kit Scripts

Complete, ready-to-drop-in scripts built on UI Kit β€” unlike Sample Scripts, which bundles many scripts per page behind collapsible entries, each script here gets its own dedicated page.

  • coopchat.lua β€” a full co-op text chat: UI.Chat as the front end, a packed/chunked encoding to carry arbitrary text over Net.SendCustomEvent, sender identity, and a movement freeze while typing. The current, improved implementation of A Basic Co-op Text Chat.
  • menudemo.lua β€” UI.Menu end to end: nested categories, ctx:spawn, a live ON/OFF :switch, and composing with UI.Confirm/UI.Input/UI.Board/UI.Chat from inside a menu action.
  • uidemo.lua β€” the kit’s own smoke test for every widget other than UI.Menu: a hand-driven UI.List drill-down, UI.Panel as a rolling log, UI.Bar, UI.Toast, and both UI.Confirm/UI.Input.
  • ModNet_CoopChat.lua β€” coopchat.lua, rebuilt on ModNet instead of a hand-rolled transport. Read alongside coopchat.lua to see exactly what a shared networking library removes from a single-purpose script.

Back to top

This site uses Just the Docs, a documentation theme for Jekyll.