@rbxts/rubine-roblox
TypeScript icon, indicating that this package has built-in type declarations

0.1.0-rc.11-ts.2 • Public • Published

rubine-roblox

CI Wally License: MIT

A rubine extension for Roblox.

Usage

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)

Installation

Wally

  1. Add it to your wally manifest
[dependencies]
rubine_roblox = "mark-marks/rubine-roblox@LATEST" # Replace LATEST with the latest version
  1. wally install

NPM

  1. npm add @rbxts/rubine-roblox
  2. npm install

Dependents (0)

Package Sidebar

Install

npm i @rbxts/rubine-roblox

Weekly Downloads

18

Version

0.1.0-rc.11-ts.2

License

MIT

Unpacked Size

14.4 kB

Total Files

6

Last publish

Collaborators

  • mark-marks