Skip to content

v1.3.0

Latest
Compare
Choose a tag to compare
@Mullets-Gavin Mullets-Gavin released this 27 Jan 00:02
· 31 commits to master since this release

A significantly large change that passes all of selene's lints! This change contains a large change in the API as well as new API and the removal of it as well.

⚠ USING THIS VERSION OF LOADER MAY ERASE ANY CURRENT DATA AS THE INDEX HAS CHANGED. USE PRIOR VERSIONS IF YOU DEPEND ON THE INDEX. ⚠

Changes:

  • Component system in Interface. I've decided against combining MCS into Interface in favor of declarative UI with Roact, which has official support and backing by Roblox.
  • "FPS" parameter in Manager.Loop
  • DataSync index value has changed from adding a prefix of "Player_" or "Data_"
  • New API for the Interface.Keybind object! The following API was updated:
    • Keybind:Mobile - this can now take false as a second parameter to disable a displayed icon in favor of text
    • Keybind:Bind - this is a superior method to Keybind:Hook, which fires at Began/Changed/Ended and provides the UserInputState as its first parameter in the function, and the object follows as second.
    • Keybind:Disconnect - this now disconnects both :Bind and :Hook functions from the Keybind, allowing you to still access the button without a function
    • Keybind:Destroy - now COMPLETELY destroys the button, this frees up the unique identifier you used prior.
  • Manager API has been updated to remove all :Method-like calls on Manager itself in favor of callback functions (.Function()). This change will completely change the functionality of Manager API such as:
    • Manager:Connect -> Manager.Connect
    • Manager:Disconnect -> Manager.Disconnect
    • Manager:ConnectKey -> Manager.ConnectKey
    • Manager:DisconnectKey -> Manager.DisconnectKey
    • Manager:FireKey -> Manager.FireKey
    • Manager:Task -> Manager.Task