Hello, i made CloudLib to help myself in game development, and after months of using them, i wanted to share them with you
CloudLib.rbxm (4.4 KB)
Tools:
- Cleaner, it works like janitor, it’s main goal is to destroy all object references in a table that might cause memory leaks like threads, instances, connections
E.g:
Cleaner.destroyTable(Table, 0.1) --/ Table, Yield for each element
- Signal, it provides option to create custom signals in a observer pattern and fire them when you want
E.g:
local Event = __Signal.new()
Event:connect(function(a)
print(a)
end)
Event:fire(true) --> true
- UUID, it allows you to create UUID generator that use numbers instead of strings, which are way more efficient
E.g:
local Generator = __UUID.new()
local ID = Generator:generate() --/ Creates new ID or reuses old one
task.wait(1)
Generator:deactivate(ID) --/ ID can be reused
- Packer, it allows you to pack or unpack number buffers predetermined in info module parented to it, index in Info table is RemoteID and can be from 0 to 255 (you can edit it if you want)
How to install?
- Go to the studio
- Right click in explorer and select insert
- Select insert from file
- Select CloudLib.rbxm file
If you find these tools usefull, then im happy i could’ve helped :}
If you have any suggestions comment here