Fixing the offset situation is objectively better.
ScreenGui.AbsolutePosition would normally be the correct way to get the offset, but it’s always set to (0,0). This makes it impossible to get the offset in a future-proof way. The only solutions are to put a (0,36) constant somewhere in your code and hope the inner (upper/left) offset is never changed, or you can compare ScreenGui.AbsoluteSize with Camera.ViewportSize, and once again hope the outer (bottom/right) offset is never changed.
If we assume that the outer offset will remain unchanged, then you can make sure your games won’t break right now by getting the offset in the following way:
Can you guys not disable the chat/backpack on PC/Mac? We have key binds to activate things, and we shouldn’t necessarily need to implement our own custom UI for this.
I think this was probably the most wanted change of the year and I couldn’t be happier. It enables us to use more precious mobile screen space if we decide to make our games mobile compatible and properly immerse players to our own game with our own UI colours.
So all it does is change the transparency? It doesn’t really seem different. Things that should be at the top of the screen are still placed below the transparent topbar that is still there.
The Topbar just has BackgroundTransparency 1, but it’s still “visible”.
Since it’s Active property is set to true, it doesn’t let clicks through.
And because PlayerGuis render under CoreGui, this means your buttons won’t be clickable.
There is a work around for this though. You can use UIS to get the location of any mouse clicks and compare that location with any buttons you have placed under the top bar. Doing this you can make the GUIs look like they are normal clickable GUIs, it’s just a bit more difficult.
Whilst I’d love to reclaim those 36 pixels, the fact that other core UI elements including chat are taken away is a major problem for me. I’m sure others would agree.
So happy. qq All we need now is a way to allow clicks to go through the topbar and allowing us to just set the topbar’s transparency to 1 (white topbar pls.)
Does anyone have a link to the chat script source they use? I’d like to check out their multiline chat thing for my own chat system. :') sniffs
What they use to wrap multiline chat is a member of TextService, but that’s locked, so you’ll need to make your own equivalent. I made one for when I was making my own chat though if you want to use it: local testGui = Instance.new("ScreenGui", game.Players.LocalPlayer.PlayerGui)l - Pastebin.com It has caching built in because that’s something the ROBLOX chat did and I was aiming to emulate the ROBLOX chat as closely as possible functionality-wise. If you don’t like it, feel free to remove it because the code will work without it, and getting something’s text size isn’t very resource intensive to begin with.