Releases: Mt-roblox/Mt
Releases · Mt-roblox/Mt
v0.3.0.0
v0.2.1.0
Mt BETA: 0.2.1.0
Version not working as expected (lack of tests)
No new widgets in this version, just functionality upgrades
I'm expecting Mt to:
-
Use metamethods to the object's advantage:
__newindex
calls the setters respectively:local obj = MObject.Init() obj.Name = "myCoolObject" -- calls obj:SetName("myCoolObject")
__index
is rightfully used:
When initializing an object, it will no longer copy every member in the class__tostring
is equal toMObject.Name
, now you can runtostring(obj)
to get the object name__name
is used, even though it's quite broken, it's equal toMObject.Name
Later I will allow you to construct an
MObject
by just callingMObject()
using the__call
metamethod
v0.2.0.0
Mt BETA: 0.2.0.0
Fixed a few bugs with the window manager and added a new object!
There's a chance you might've downloaded a broken version of the place file, I've fixed that, please try downloading again
Changes:
- fixed up the window manager a little
- windows will no longer slide away when resizing above the size limits (this affected the MWidget object)
- other bugfixes
- added the
MProgressBar
object
inherits fromMWidget
shows a progress bar that can also be used as a health bar
how to use:local MScreen = require(game.ReplicatedStorage.Mt.MtCore.MScreen) local MProgressBar = require(game.ReplicatedStorage.Mt.MtWidgets.MProgressBar) local screen = MScreen:Init() local progressBar = MProgressBar:Init(screen) progressBar:GoTo(Vector2.new(150,150)) progressBar:Resize(Vector2.new(300,50)) progressBar:SetProgress(50)
In progress:
- create mt widgets out of png
- spinbox
- slider
- adding widgets to windows
v0.1.2.1
v0.1.2.0
Mt BETA: 0.1.2.0
Minimally working version of the Mt window manager.
Windows can:
- Move
- Close
- Maximize/restore
- Resize
- Gain/lose focus
- Changes cursor when hovering over resize regions
- Ability to add content to windows (i just haven't explained how to do it yet)
Windows can only be moved by computers.