A collection of libraries hosted on npm written by yours truly, Validark, for use with roblox-ts.
validark / roblox-ts-libraries Goto Github PK
View Code? Open in Web Editor NEWVarious libraries I have posted on npm
License: ISC License
Various libraries I have posted on npm
License: ISC License
BindableEvents already support this under the hood, so this should just be a copy-paste of Connect
in init.lua
and index.d.ts
.
https://create.roblox.com/docs/reference/engine/datatypes/RBXScriptSignal#Once
type doesn't satisfy the InstanceTree of the module "validate-tree"
export declare type CharacterRigR6 = EvaluateInstanceTree<typeof CharacterRigR6>; export declare type CharacterRigR15 = EvaluateInstanceTree<typeof CharacterRigR15>;
It would be nice to be able to set attributes on the instances created with @rbxts/make, perhaps if possible, with a generic to specify the attributes' types.
If the "root" of the tree is game
, validateTree
will hit a point where it tries to index services it doesn't have access to (due to SecurityContext restrictions) - and therefore, error.
Take the example:
const tree = {
$className: "DataModel",
Workspace: "Workspace",
ReplicatedStorage: {
$className: "ReplicatedStorage",
sysNetwork: {
$className: "Folder",
getSelfShip: "RemoteFunction",
},
},
ServerStorage: {
$className: "ServerStorage",
vehicles: "Folder",
},
} as const;
if (!validateTree(game, tree)) {
throw "Tree validation failed! Are you sure you did not forget anything?";
}
it will error with
The current identity (2) cannot Class security check (lacking permission 6)
(Note: I think this actually used to work, but a Roblox update may have inadvertently broken it)
Some of these projects appear to be derivative works or redistributions of other projects. In particular, the spring library contained here appears to be a transcription of Fraktality's spr library.
Listing a username here is not generally enough to satisfy the MIT license. It's generally required to include the original license.
I recommend reviewing the other modules in the repo and their attribution. License violations are no good, and respecting each other's work is what makes open source hum!
The yieldForR15CharacterDescendants
promise never revolves because this part of the CharacterRigR15
table:
Head = { ["$className"] = "Part", Mesh = { ["$className"] = "SpecialMesh", OriginalSize = "Vector3Value", }, ... }
needs to be changed to:
Head = { ["$className"] = "MeshPart", ... }
side note: this is my first issue report so please don't mind if it's poorly written
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.