Sure that’s a good idea, I’ve opened up a ticket here:
Feel free to expand upon that or open up additional issues if you have any further ideas.
Sure that’s a good idea, I’ve opened up a ticket here:
Feel free to expand upon that or open up additional issues if you have any further ideas.
The more I use it the more useful it gets!
The only bug I’ve found is that the documentation says passing nil to :setTip() or :setCaption() will remove the tip/caption, although doing so throws an error. Once a tip is assigned it cannot be removed.
Excellent module, I will definitely be using this in my games.
Good spot thanks! I’ve opened up a ticket and will have it fixed for the next update:
Hey, Is there a setting wheel icon? I really need one for my game atm. Cant find any good ones lol
(image label, asset id, website id)
I love the TopbarPlus system. It is very useful. Just one question: how come when I add the :convertLabelToNumberSpinner()
, it will no longer allow me to have an image on that same icon anymore?
Image + spinners aren’t currently supported together although we can consider support for this for the next update if it’s something you need.
For those interested in switching to the Deferred Signal Behaviour TopbarPlus is now compatible:
@Koye_x64 The :setTip and :setCaption nil bug should also be fixed now
I’m having a weird bug with the icons. they work all good but when a player reset/respawn it adds a duplicate of all the icons and starts filling the topbar with the same icons. How can I fix that?
Icons have to be constructed within StarterPlayerScripts or a GUI with ResetOnSpawn set to false
I didn’t notice I accidentally put it on StarterCharacterScripts.
Credit back to this thread is greatly appreciated, anywhere convenient’s fine.
Is there a way that when you press the Shop button it will make the GUI come out from the side, since I don’t want to try messing with what I have already…
Like this?
Like so the Shop GUI (Not button) tweens out from the side smoothly, instead of just going from not being visible to being visible.
Something like this:
You can use icon events and tween service to achieve this:
icon.deselected:Connect(function()
-- tween shop out
end)
icon.selected:Connect(function()
-- tween shop in
end)
Is there a way to force toggle** it off?
I tried doing
icon:setEnabled(false)
icon:setEnabled(true)
to force it to stop being highlighted white, but it just disables and reenables while keeping the white highlight.
**toggle meaning make it stop being highlighted
Solved by @miguelrioja777, thank you.
Try using:
icon:deselect()
If u want to lock u can use:
icon:lock()
And for unlock:
icon:unlock()