A rubine extension for Roblox.
rubine-roblox
should ideally be used alongside rubine
itself.
It's built as something that provides out of the box support for jabby and slightly easier setup, not as a framework.
-- server/main.server.luau
local rubinerbx = require("@pkg/rubine_roblox")
-- Sets up basic RunService events, see the function docs for more
rubinerbx.setup_default_phases()
rubinerbx.load_children(script.systems)
-- server/main.server.luau/systems
local scheduler = require("@pkg/rubine/scheduler")
return scheduler.on("heartbeat", function(dt: number)
print(`Heartbeat, dt: {dt}`)
end)
- Add it to your wally manifest
[dependencies]
rubine_roblox = "mark-marks/rubine-roblox@LATEST" # Replace LATEST with the latest version
wally install
npm add @rbxts/rubine-roblox
npm install