Essential UI Tips & Tricks | Roblox Studio

Поділитися
Вставка
  • Опубліковано 12 січ 2025

КОМЕНТАРІ • 184

  • @snuguga
    @snuguga 6 місяців тому +109

    really useful, didn't even know that canvas group thing existed, nice video!

    • @Zeko47
      @Zeko47 6 місяців тому +2

      same!

    • @Blck4004
      @Blck4004 6 місяців тому +1

      fr

    • @BlockyStuff
      @BlockyStuff 5 місяців тому +1

      I did know that canvas group existed, but since I was a scripter and not UI designer, never knew how to do it, this vid really helped out

    • @Br0ken_playz
      @Br0ken_playz 4 місяці тому

      Ikr that is so Underrated I see many Top Notch Quality games like Even Mimic for Example having that Health Bar clipping.

    • @jeremiahalfaro79
      @jeremiahalfaro79 4 місяці тому

      dude same

  • @DarkenZ
    @DarkenZ 6 місяців тому +72

    When i saw the page layout trick, i see tons and tons of possibilities with this without having to script a single thing :D

    • @EzoPlayerS
      @EzoPlayerS 6 місяців тому +8

      You know spmetimes its better to script. But its up to you.

    • @KrisszXD
      @KrisszXD 6 місяців тому +1

      DARKENZ!!!

    • @rylyyxy
      @rylyyxy 6 місяців тому +1

      ​@EzoPlayerS give me one good reason why you would need to script this, it just makes it harded when you can literally just insert a uipagelayout and your done

    • @boblox_studio_dev
      @boblox_studio_dev 6 місяців тому

      @@rylyyxy I made a comment earlier, might as well copy and paste it. It is really long
      Yapping Level: 📈📈📈📈📈
      V
      One disadvantage I have with UIPageLayout is that for some reason by default the index sometimes glitches which makes it go to the item in the list with the index of 1 instead of 0. This meaning that it goes to the second page by default. I have to set up a script to UIPageLayout:JumpToIndex(0) on start just to fix this. Even when I do it in studio, it still doesn't save so I have that script.
      Another disadvantage I have with UIPageLayout is that despite me disabling all of the input methods on it so I can set the pages programmatically, I can still go to the pages through user input. When you press \ (backslash not slash) on your keyboard, it toggles keyboard navigation so you can navigate through the GUI using WASD or ← ↑ → ↓. When I try to get to a page outside the current out using keyboard navigation it automatically goes to that one.
      Lastly, circular is very glitchy and does not wrap around seamlessly.

    • @EzoPlayerS
      @EzoPlayerS 6 місяців тому

      @@rylyyxy no, no you got me wrong. I mean in these cases its better to do like that. But I mean people usually tend to do everything with The Gui of roblox. So make sure you have created a balance between them

  • @KnightInRed
    @KnightInRed 6 місяців тому +25

    This video is 10x better than the ui tips that the big UA-camrs make. Keep it up!

  • @EpicPico0625
    @EpicPico0625 5 місяців тому +9

    Fun Fact: Scrolling frames have a property called "Automatic canvas size" or something along those lines, that automatically resizes the canvas without needing any scripting. You can choose between: X, XY, Y, or None. (This does NOT add on to the current canvas size, so keep that in mind)
    Pages are cool

  • @zegzropat
    @zegzropat 6 місяців тому +18

    Tip for UIaspectRatio:
    Divide the property absolute size X by the property absolute size Y in the calculator will give you the ratio for the AspectRatio

    • @boblox_studio_dev
      @boblox_studio_dev 6 місяців тому

      That's basically what a UIAspectRatio constraint is. It keeps the ratio between the width and height consistent and proportional between all screen sizes. Ratio is division so you dividde the width and the height.

    • @ransu6852
      @ransu6852 6 місяців тому

      Or just literally use a plugin that does it for you

    • @boblox_studio_dev
      @boblox_studio_dev 6 місяців тому

      @@ransu6852 lazy a- (sorry 💀)
      Fun fact you can put expressions inside of properties in Roblox. You don't have to get a calculator just type it in. AbsoluteSizeX/AbsoluteSizeY
      For example just write 450/30 or something and it works

    • @daveashi1338
      @daveashi1338 5 місяців тому

      @@ransu6852 what plugin

    • @ransu6852
      @ransu6852 5 місяців тому

      @@daveashi1338 Name for it is autoscale lite. If you accidentally use offset, then you can fix that quickly by this plugin.

  • @benjikad
    @benjikad 6 місяців тому +70

    7:30 just use automatic canvas size.

    • @baconheadhair6938
      @baconheadhair6938 6 місяців тому +1

      Do you play rainbow 6

    • @RedsquareR
      @RedsquareR 6 місяців тому +5

      yeah exacctly what i was thinking

    • @kpamzz6443
      @kpamzz6443 6 місяців тому

      is it a plugin?

    • @RedsquareR
      @RedsquareR 6 місяців тому

      @@kpamzz6443 its an instance

    • @YieldingBULLDOGS_LegitGuy
      @YieldingBULLDOGS_LegitGuy 6 місяців тому

      @@kpamzz6443 The property in ScrollingFrame called AutomaticCanvasSize

  • @fouxe1731
    @fouxe1731 6 місяців тому +2

    Tip for the scrolling frame size:
    You don't need to script anything, just set the scrolling frame canvas size to {0,0}{0,0} and put automatic size to Y

  • @jarxdd_
    @jarxdd_ 6 місяців тому +5

    5:47 : Theres an easier trick for both that works for both UIlistlayout or UIgridlayout. Start by selecting the scrolling frame and setting the canvas size to 0 and then set the automatic canvas to Y, XY, or X depending on what direction your scrolling frame scrolls into. This way the scrolling framw wont need any script and is much more percise than this method.

  • @Martanus
    @Martanus 6 місяців тому +1

    I am glad that people can now know about the canvas group one, which I knew before, because that was a life saver!!

    • @boblox_studio_dev
      @boblox_studio_dev 6 місяців тому

      Me too. Did you learn it yourself like me or did you learn it from someone?

  • @Jasper_K
    @Jasper_K 5 місяців тому +5

    For automatically updating de canvas size is also a property on de scrolling frame

  • @ItsTheSteven
    @ItsTheSteven 5 місяців тому +3

    5:59 - You can set the canvas size automatically by setting AutomaticCanvasSize to Y, you may have to set the canvas size to 0

  • @GNopy
    @GNopy 4 місяці тому +1

    really useful, simple, fast, no bullshit, JUST PERFECT GIVE THIS GUY AN OSCAR! ❤

  • @usernamehere_
    @usernamehere_ 5 місяців тому +1

    Other than the last one this is pretty fire, thank you bro.

  • @gabsim2781
    @gabsim2781 6 місяців тому +1

    tip for the scrollingframe thing: there is actually an automaticsizing for the canvassize so just set that to Y and put a uilistlayout or smth and its gonna do the job just fine (make sure to set canvassize Y the smallest u can too cuz automaticsizing only increases but doesnt decrease)

    • @Aadiyan1
      @Aadiyan1 6 місяців тому

      its buggy if you add padding with it

    • @gabsim2781
      @gabsim2781 6 місяців тому

      @@Aadiyan1 ye but you could also be smart (like me) and make ur own padding (invisible frames) ok ye that idea sucks but id rather do that then a localscript tbh

  • @DavidWinstead
    @DavidWinstead 6 місяців тому +3

    Great tips man. I really love the scrolling frame script, that will be very handy for any game's inventory system! thanks for sharing!!

    • @NewGuyX
      @NewGuyX 6 місяців тому +1

      theres a property called "automatic ???? scaling ????" on the scrolling frame. if you set it to Y then it will do that automatically without a script! (set the scrolling size to 0,0,0,0) for it to work

    • @DavidWinstead
      @DavidWinstead 6 місяців тому

      @@NewGuyX Awesome, great to know, thanks.

    • @NewGuyX
      @NewGuyX 6 місяців тому

      @@DavidWinstead no problem

  • @armaangaminguk
    @armaangaminguk 5 місяців тому +1

    Bro can we have more of these? I really liked this video lol

  • @Moij56-Games
    @Moij56-Games 6 місяців тому +1

    That progress bar fix will be so useful!! I knew there was a way to fix it, but I had no idea how to do so, thank you 🥰

  • @HeyShattered
    @HeyShattered 2 місяці тому

    The previous video, and this one, REALLY helped me a lot! Please make more UI tips and tricks videos!

  • @MK5YT
    @MK5YT 6 місяців тому +1

    Page layout looks perfect for a shop UI 🔥

  • @thecolorblue7427
    @thecolorblue7427 Місяць тому

    This is actually good tips dang

  • @simon_aatc
    @simon_aatc 4 місяці тому +1

    UIPageLayout is literally a livesaver, I'm the owner of a game with 2 different shops, and I'm also the most advanced scripter out of the team, but I still kind of suck. So thank you!

  • @Seven-ko4hx
    @Seven-ko4hx 5 місяців тому +1

    Wow quite a bit of useful tips, I'll definitely being using a few of these!

  • @OhKeelay
    @OhKeelay 6 місяців тому +1

    For the Fixing Progress Bars With UICorner I always did a tween for offset of a color, which was not fun, but this is so much better in the video thanks dude👍👍

  • @CK_CodingKing
    @CK_CodingKing 5 місяців тому +3

    UIaspectRatioConstraint is so crazy

  • @undefined428
    @undefined428 15 днів тому

    Im sure scrolling frames have properties that when configured correctly if the elements within the canvas don't exceed the boundary it will basically be a standard frame and when you add an element that exceeds the boundary the canvas size updates and the scroll bar becomes visible there is no need for a script to do that

  • @Seiklass.reremsch
    @Seiklass.reremsch 6 місяців тому +2

    Really helpful ,Great Video👍

  • @clipnoir
    @clipnoir 5 місяців тому +1

    Really useful information 👏

  • @adot_blox
    @adot_blox 6 місяців тому

    for the scrollingframe you can use the automatic canvas size option, just set it to 'Y', and set the canvas size to 0

  • @RobloxStudioTutorials.
    @RobloxStudioTutorials. 6 місяців тому +4

    I ALWAYS use the Converting Plugin while doing GUI. If i do something wrong, i can just change it :D

  • @gaminforever2624
    @gaminforever2624 6 місяців тому +2

    Nice video really helps!

  • @Blck4004
    @Blck4004 6 місяців тому

    u saved my life by ui aspect raatio i always used plugins that made it look bad on the mobile and tablet thank you

  • @АртёмДолгоруков-ж3ш
    @АртёмДолгоруков-ж3ш 6 місяців тому +1

    TYSM DUDE FOR UICorner FIX!!!!!

  • @MnkyDev
    @MnkyDev 6 місяців тому

    Progress bar tip is a lifesaver 🙏

  • @couriusDEV
    @couriusDEV 6 місяців тому +1

    Man this was so useful, keep it up!

  • @jeremiahalfaro79
    @jeremiahalfaro79 4 місяці тому

    Great video!

  • @Duke-d4x
    @Duke-d4x 2 місяці тому +1

    thank you very much, from Brazil 😄

  • @brpz
    @brpz 5 місяців тому

    wanted to point this out, in the script for the scrolling frames instead of getting the playergui by doing game.Players.LocalPlayer.PlayerGui you can just do script.Parent
    example:
    Explorer
    -ScreenGui
    --Frame
    ---LocalScript
    ETC
    Script
    local PlayerGui = script.Parent.Parent.Parent

  • @avivshmueli8315
    @avivshmueli8315 6 місяців тому

    for auto canvas size change the frame's size contrasts to xx if the scrolling canvas based on Y or the opposite to make it work

  • @idk-ix4kk
    @idk-ix4kk 5 днів тому

    God bless you guys!

  • @lyalekin
    @lyalekin 6 місяців тому

    bro everything is so useful, thank you!!!❤

  • @2.0-dr2tc
    @2.0-dr2tc 6 місяців тому +2

    I wanted to do some UI card animations in my game, like rotating the 3D model of the card, but I tried a lot and couldn't!

  • @fl4mxr1
    @fl4mxr1 7 днів тому

    1:46 just be careful with canvas groups, they can cause performance issues if used too much

  • @AdvysorEdits
    @AdvysorEdits 3 місяці тому

    Thanks bro you helped me ❤❤❤

  • @bariltomas9491
    @bariltomas9491 27 днів тому

    Thank you so much, ever ChatGPT dosen't know how to do that ! Very usefull

  • @ufoulroo2035
    @ufoulroo2035 6 місяців тому +8

    Pretty sure scrolling frames have an auto update scroll size

    • @Pignoodlesss
      @Pignoodlesss 6 місяців тому

      They do

    • @stewiepfing539
      @stewiepfing539  6 місяців тому

      AutomaticCanvasSize doesnt work for me 90% of the time

    • @SaleMales
      @SaleMales 6 місяців тому +2

      @@epixerty no, it applies always, he does it wrong then, always worked for me

    • @EpicPico0625
      @EpicPico0625 5 місяців тому +1

      It does work, set it to 0,0,0,0

  • @로좋
    @로좋 6 місяців тому +1

    Bruh this is SO helpful ❤👍

  • @RoboGameOfficial
    @RoboGameOfficial 5 місяців тому

    for UIAspectRatioConstraint (and scaling of UI), you should use AutoScale or AutoScaleLite

  • @Lightning_Fan12345
    @Lightning_Fan12345 2 місяці тому +2

    so useful, how do you have frame outline with ui corner?

  • @juju_le_belge
    @juju_le_belge 6 місяців тому +2

    i think there is a property in scrollingframes to automatically change the size

  • @Blood_Streams
    @Blood_Streams 6 місяців тому

    for the scrolling frame canva size use automatic canva size and put the canva size to 0.0.0.0

  • @Im_IntoDev
    @Im_IntoDev 6 місяців тому +1

    Please fix the corners of the progress bar scaling down when it gets small. It's such a simple fix; all you have to do is offset the bar to the X axis twice the size of the corners. Then in the script, you can then just add this size amount onto the X size result from your calculation.

    • @keyblademaster8263
      @keyblademaster8263 6 місяців тому

      Two ways of solving the same problem that's why I love coding there are 100x ways to solve the same problem. No definitive right answer.

    • @execute214
      @execute214 6 місяців тому

      ​@@keyblademaster8263 yes, everything has multiple solutions, this isn't exclusive to math

  • @zabuxman4631
    @zabuxman4631 6 місяців тому +2

    4:21 I HAD NEVER HEARD OF THIS. WHAT?!

  • @LD-dt1sk
    @LD-dt1sk 6 місяців тому

    Pretty sure if you switch from scale canvas size to pixel one in scrolling frames there is an option that automatically adjusts the size of the canvas

  • @Ajt3Baklava
    @Ajt3Baklava 4 місяці тому +2

    I didnt know u need only uiaspectratio for making ur game ui for all devices i tought u need scripts

  • @Zakycaua
    @Zakycaua 6 місяців тому +3

    New sub!
    Btw, can you make a tutorial on DataStores? I'm trying to make a simple money and kills datastore but it isn't working.

    • @MoHa-dv4fb
      @MoHa-dv4fb 6 місяців тому

      Yeah we need a tutorial on profile service datastore tbh

  • @7md_0
    @7md_0 6 місяців тому

    i love ur video

  • @errortyp3
    @errortyp3 6 місяців тому

    Crazy how I’ve been designing UI for 3 years and haven’t come across these…

  • @akaisstudios
    @akaisstudios 6 місяців тому +1

    u read my comment, tyyyyy

  • @xheptc9612
    @xheptc9612 6 місяців тому

    It's better to use UIGradient with Transparency sequence and Offset property to clip the frame, instead of using CanvasGroup

    • @xheptc9612
      @xheptc9612 6 місяців тому

      The frame size would be scaled 1,1. and Offset X would be in a range of scale 0-1 (ex 0.5 offset clips 50% of the frame)

  • @cant_thinkofaname807
    @cant_thinkofaname807 6 місяців тому

    i don’t build in studio so this will be very important for me

  • @antlam225
    @antlam225 6 місяців тому

    U should use :ChildAdded and :ChildRemoved event for the local script, using renderstepped for everything is terribly inefficient and expensive

  • @EnderGradRPC
    @EnderGradRPC 5 місяців тому

    1:43 whats the explanation for this? Why does it work on a canvasgroup but not in frame

  • @itssloplayz
    @itssloplayz 6 місяців тому +1

    any tips how to make good looking shop ui?

  • @unusedaccount-b7t
    @unusedaccount-b7t 6 місяців тому

    whoa that canvas group is interesting

  • @Alleehwhouare3900
    @Alleehwhouare3900 6 місяців тому

    before this video exist i use ui gradient for the health bar offset = health - 0.5

  • @TheTrashOfDivinity
    @TheTrashOfDivinity 6 місяців тому

    From 142 subs to 3k+ very fast growth

  • @compcompcompff
    @compcompcompff 5 місяців тому +44

    12 second intro is the least yapping ive heard 💀

    • @ike5276
      @ike5276 2 місяці тому +3

      Shouldn’t that be a “😊” instead of a “💀”?

    • @compcompcompff
      @compcompcompff 2 місяці тому +2

      @@ike5276 not sure how to explain, but in a way i used the "💀" in a non toxic way.

    • @wasorangeman
      @wasorangeman Місяць тому +2

      the 💀 is used on literally anything

    • @Henry-n5n1x
      @Henry-n5n1x 6 днів тому

      Fr

  • @That_Random_Guy101
    @That_Random_Guy101 6 місяців тому

    6:30 just put the automatic scrolling size to true? (Don't remember if it worked that way, gonna have to check home and correct this but there is a setting for it.)

    • @SaleMales
      @SaleMales 6 місяців тому

      yup, can't see a use to it

  • @Wizzkidd02
    @Wizzkidd02 4 дні тому

    Still having problems with the progress bar thing. I'm using a surfacegui on a part for my bar and it does not work still.

  • @minicup
    @minicup 6 місяців тому +2

    1:56 what do I insert? A new frame/same frame or a new canvas group? Please don’t cover the explorer next time as this has left me quite confused

    • @stewiepfing539
      @stewiepfing539  6 місяців тому +1

      Sorry, get rid of your original frame and turn it into a canvas group and copy the properties over

    • @boblox_studio_dev
      @boblox_studio_dev 6 місяців тому

      There is also a Reclass plugin which you can use to convert the frame into a canvas group with all of its properties but I'm not sure if it is still free.

    • @minicup
      @minicup 6 місяців тому

      @@stewiepfing539 ah ok

    • @minicup
      @minicup 6 місяців тому

      @@boblox_studio_dev I have reclass, I’m pretty sure it’s free but the dev might of made it paid like his other plugins but thanks for trying to help

  • @avyukth3727
    @avyukth3727 6 місяців тому +1

    How do you make a loading screen like in DriveWorld? Is it a repeat animation until game:IsLoaded()?

  • @FluffScripts
    @FluffScripts 5 місяців тому

    AutomaticCanvasSize Property has left the chat...

  • @SaleMales
    @SaleMales 6 місяців тому

    Scrolling frame tip, is there some use to it? Auto scale exists

  • @FreakyDevv
    @FreakyDevv 2 місяці тому

    i love that the canvas group just doesn't work for me

  • @hikchik2065
    @hikchik2065 6 місяців тому

    bro your channel is very underrated . Do you have discord server?If not , why dont you create one?

  • @TylersAdventures_YT
    @TylersAdventures_YT 6 місяців тому

    can u help me with the scrolling frame thing its broken

  • @BlueEnergyRoblox
    @BlueEnergyRoblox 5 місяців тому

    TIP: UI not properly placed in mobile? Use UI Padding!

  • @keyblademaster8263
    @keyblademaster8263 6 місяців тому

    W video

  • @Wamartwatarocks
    @Wamartwatarocks 14 днів тому

    4:33 idk how to flip between the frames can someone help?

  • @OrangizeAndDevelopYourIdeas
    @OrangizeAndDevelopYourIdeas 6 місяців тому

    2. Or just enable clip descendants? I don't see why its necessary to use canvas group
    3. I don't really use UIAspectRatioConstraint because I don't really understand it so I may be wrong here but can't you just use scale to achieve the same result?
    5. Just use automatic canvas size?

    • @BadKD
      @BadKD 6 місяців тому

      No, scales don’t achieve the same result. There are many different screen sizes so scales can vary. Using the constraint makes the UI look similar for all screens

    • @boblox_studio_dev
      @boblox_studio_dev 6 місяців тому

      Clip descendants on regular GUIs don't clip the rounded corners.

  • @carob9121
    @carob9121 2 місяці тому

    when i make gui's next to eachother wehn i then puplish then the gui's are like 1 meter from eachother how do i fix that?

  • @BlenEden
    @BlenEden 25 днів тому

    How scale Object with UigridLayout ?

  • @Bloxburg_Builderman
    @Bloxburg_Builderman 4 місяці тому

    How do you make a ui that you can move around

  • @BrxdyYT
    @BrxdyYT 5 місяців тому

    What font did you use in the first tip?

  • @ender7966
    @ender7966 6 місяців тому

    when using canvas groups textlabels are for some reason blurry?

  • @JayJJonez
    @JayJJonez 5 місяців тому

    W

  • @ImCalledArio
    @ImCalledArio 6 місяців тому

    0:52 it doesnt work for me, can you help?

  • @Asian_Jonny
    @Asian_Jonny 5 місяців тому

    i didn't understand the canvas group thing and i tried it but it didn't work for me. Is it possible for you to help me?

  • @NotRynch
    @NotRynch Місяць тому +1

    that canvas group didnt work

  • @R-gi7bi
    @R-gi7bi 5 місяців тому

    why cant i see the frame that i put inside the cnavas group

  • @firepalmmy5933
    @firepalmmy5933 6 місяців тому

    discord server when??????

  • @fridaypinzerut2699
    @fridaypinzerut2699 2 місяці тому

    I dont get it, canvas group doesnt work

  • @akaisstudios
    @akaisstudios 6 місяців тому +1

    now its vfx XD

  • @BlazeyCrazey
    @BlazeyCrazey 2 місяці тому

    I’m watching this on a iPad 7th gen 2:44 💀

  • @avocadopeanut
    @avocadopeanut 5 місяців тому

    please lose the captions and random images every few seconds

  • @Fanplayz
    @Fanplayz 4 місяці тому

    the second one doesnt work

  • @Bruh_AI-uo8yf
    @Bruh_AI-uo8yf Місяць тому

    3:10

  • @5ersx
    @5ersx 6 місяців тому

    Isn’t this just python?

    • @TheNuller
      @TheNuller 5 місяців тому

      No U #### B###

  • @Brinefinger
    @Brinefinger 5 місяців тому

    Umm

  • @Stalkernaut
    @Stalkernaut 6 місяців тому

    the ultimate ui tip is to stop making lifeless rounded ui's and spend more time making a creative design!