Forest Logo
search
package_2

crystal

By @reimakesgames

Roblox

Mirrored

Crystal

A simple, lightweight, Godot and Knit-like framework.

Why Crystal?

I don't know. This framework was tailored to my needs.

Features

  • Easily create and use Controllers
  • Allows Tree-like structure of Controllers
  • Similar to Godot's scripting API

API

Crystal (Service)

The main runner for the Crystal framework.

Methods:

MethodDescription
Crystal.new()Creates a new Controller.
Crystal.run()Runs the Crystal framework and Controllers.

Properties:

PropertyDescription
Crystal.ControllersThe list of Controllers.

Controllers

The controllers are the individual components of the framework.

Lifecycle Hooks:

HookDescription
Controller._init()Called when Crystal.Run() gets called
Controller._ready()Called when the Controller is ready to be used.
Controller._render()Called when RunService.RenderStepped() is emitted.
Controller._step()Called when RunService.Stepped() is emitted.
Controller._beat()Called when RunService.Heartbeat() is emitted.

Package Details

Install command (Click to copy)


Version

0.1.0

License

BSD-3-Clause

check_circle

Safe for commercial use

infoThe copyright notice must be preserved in copies. The author's name may not be used to promote your product.

infoLicense identified from the packaged LICENSE file; the manifest declared none.

Automated license review — not legal advice.