1.3.8 • Published 12 months ago

@rbxts/matter-bootstrap v1.3.8

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

@rbxts/matter-bootstrap

A simple class that handles everything needed to bootstrap a Matter world including hot-reloading, live debug, networking (using @rbxts/yetanothernet), and component replication.

// server/index.ts
import { ServerStorage } from "@rbxts/services"
import MatterBootstrap from "@rbxts/matter-bootstrap"
import { Components } from "shared/components"

new MatterBootstrap(ServerStorage.MatterSystems, Components)
// shared/components.ts
import { component } from "@rbxts/matter"
import { Replicated } from "@rbxts/matter-bootstrap"

export class Components {
	@Replicated
	public static readonly secondsPlayedTimer = 
		component<{
			secondsPlayed: number
		}>("secondsPlayedTimer")
}
1.2.0

1 year ago

1.3.7

12 months ago

1.3.6

12 months ago

1.3.5

12 months ago

1.3.4

12 months ago

1.3.3

12 months ago

1.3.2

12 months ago

1.3.1

12 months ago

1.2.2

12 months ago

1.3.0

12 months ago

1.2.1

12 months ago

1.3.8

12 months ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago