Tutorial: Create Custom Resource Counting UIs Using Verse in UEFN!

Поделиться
HTML-код
  • Опубликовано: 8 янв 2025

Комментарии • 88

  • @DomZaddy
    @DomZaddy Год назад +3

    This is exactly what I needed haha! Thank you Maestro!

  • @ryanperrott2014
    @ryanperrott2014 Год назад +6

    So I have an image on the same Widget that I want to show underneath the text. How would I add this to the code seeing as the code currently is only adding the text and nothing else in the widget.

  • @SciPunk
    @SciPunk 11 месяцев назад +2

    Great tutorial, UEFN definitely needs a device for this

  • @StrongzGamez
    @StrongzGamez Год назад +1

    your the best 3 tutorials down awesome

  • @sain120
    @sain120 10 месяцев назад +1

    Has anyone solved the problem of the HUD scaling? So the UI doesnt change position when HUD scaling

  • @devgck
    @devgck 10 месяцев назад

    where's the canvas tutorial that you mentioned on 7:58 ? I couldn't find it
    is this one "Interactive UI Buttons in UEFN/Fortnite Creative [Tutorial]" ?

  • @SoFlyShorts
    @SoFlyShorts Месяц назад

    how do I move where the text is or make it bigger

  • @artbytav
    @artbytav 11 месяцев назад +1

    This UI method seems to have stopped displaying on my map after the 28.10 patch yesterday. Are you getting the same thing? is there a workaround?

  • @Laxorn_G
    @Laxorn_G 8 дней назад

    if I want 2 different resources and not just 1, Do i need to do another exact one ? (verse code)

  • @islander_lab
    @islander_lab 5 месяцев назад

    To Widgets the scale correctly, use the "Overlay" panel

  • @VidXon
    @VidXon Год назад +1

    Can you make a tutorial on voting system with ui in verse

  • @UnrealPirate
    @UnrealPirate Год назад +1

    Hey thanks! But why this code is not working for multiplayer?

  • @SigmaScootOnTop
    @SigmaScootOnTop 3 месяца назад

    What would measmurements be to make it left centre and give it an outline? im new to this but great tutorial u get my sub

  • @corlag
    @corlag Год назад

    Awesome tutorial, thanks!

  • @Laxorn_G
    @Laxorn_G 8 дней назад

    Also do you know how to round up the numbers? instead of showing 1000000 it shows 1M ?

  • @AggressiveSpartan
    @AggressiveSpartan 5 месяцев назад

    Thanks it helps me a lot and save me lot of money. For me its not posible to code by my self and i cant find friends to create maps with me, its sad because i have in plan big projects but solo its imposible to do it next to work.

  • @dmytrogladkyi
    @dmytrogladkyi 7 месяцев назад

    thanks for sharing the code!

  • @ToMa10Missimo
    @ToMa10Missimo Год назад +1

    Are you going to do an event concept?

    • @MaestroShark
      @MaestroShark  Год назад +1

      Unfortunately not, all the cards were against me. I’m hoping to make one this winter.

  • @Visual3DThings1000
    @Visual3DThings1000 4 месяца назад

    Hey i want to make custom currency wich is not gold and not an item in the game. And idk how to do it. I tried to make it when i earn gold the number goes up and it didnt work.. pls help

  • @luisortizaguilar8840
    @luisortizaguilar8840 8 месяцев назад

    Excelente tuto Bro sigue así te mando saludos y bendiciones

  • @Balapara64
    @Balapara64 8 месяцев назад

    Hello! Could you make a gold/sec indicator as well, it would help a lot!

  • @Handlethatineedtouse
    @Handlethatineedtouse Год назад

    How do I get over 3 layers in paint?
    Pls I need help I need to make this map quickly but I don’t even have the dirt paint layer

  • @RynttGmbl
    @RynttGmbl 11 месяцев назад

    How would you add a counter of coins per seconds not total value

  • @nodesofnature603
    @nodesofnature603 11 месяцев назад

    How do you set gold in the inventory using verse tho?

  • @LKHuso
    @LKHuso 3 месяца назад

    Is there a way to add a black frame behind it like a black background in a box

    • @MaestroShark
      @MaestroShark  3 месяца назад

      Using overlays, yes. You can take a look at this tutorial which is an improved version:
      ruclips.net/video/pi6yf1_kS0M/видео.html

  • @youngvegas6672
    @youngvegas6672 Год назад +1

    now what if we wanted multiple counters for different items? Exm: coins, eggs, etc.?

    • @MaestroShark
      @MaestroShark  Год назад

      Same process, just add another text block, another canvas slot, and test with a different slot of the conditional button.

    • @Cobbfather
      @Cobbfather Год назад

      So do you mean add these into the current verse code or create a new verse file same process?@@MaestroShark

    • @MaestroShark
      @MaestroShark  Год назад +1

      @@Cobbfather you can easily add these into the same device.

    • @Cobbfather
      @Cobbfather Год назад

      Thank You Great Video by the way I Subscribed, I'm new to verse, So would i copy MyCanvas:=canvas: and below then just copy in the offsets for the New Text Block that i would put into the Widget?@@MaestroShark

    • @MaestroShark
      @MaestroShark  Год назад

      @@Cobbfather rather than copy the canvas, add another canvas_slot below the other one, set up your margins and add another text_block widget. Make sure you update the text and store that text_block to allow you to update
      OR as an easy alternative if this is above/below your gold text, you can just add the text onto your current text_block: for example, “Gold: {NameOfTheGoldCountVariable}
      Other Resource: {NameOfOtherResourceCountVariable}”
      Etc. just make sure you’re using the right conditional button slot to get each counted variable and note that
      is the code for a newline, so when displayed it would show:
      Gold: 0
      Other Resource: 0

  • @bncben3766
    @bncben3766 Год назад

    I was trying to make this code for multiplayer but when we start the game the gold amount start switching between how much i have and how much other players have , can you help me to fix it ?

  • @EPICEDEN-g7f
    @EPICEDEN-g7f Год назад

    when you like buy something with the gold dose it go less

  • @umf4798
    @umf4798 Год назад

    Love the tutorial, was wondering if you could do a small tutorial explaining how we could show multiple counters (For multiple resources)?, i managed to fix the anchor but confused slightly on how to approach the multiple counters part.

    • @MaestroShark
      @MaestroShark  Год назад +1

      Just a simple copy and paste and changing of variables to make multiple counters. In the ui function, add a new text block widget, in the updating function include that text block widget

    • @umf4798
      @umf4798 Год назад

      @@MaestroShark I tried duplicating and editing the text block widget but kept getting stuck on errors. I'm extremely new to verse, i joined the discord asking for help. I would really appropriate it if you could show me what you mean.

    • @1twiist
      @1twiist Год назад

      @@umf4798Yeah just keep working at it. Like he said, make sure your variable names aren't the same. Keep working at it!!! Coding is not easy at all and he does a great job of explaining things, so just keep watching and learning

    • @merdo4611
      @merdo4611 11 месяцев назад

      how did you fix the anchor thing?

    • @umf4798
      @umf4798 11 месяцев назад +1

      @@merdo4611 It can't be fixed but you can recommend the hud scale so its always in the same place

  • @pingpong3311
    @pingpong3311 Год назад

    I'm trying to add a second canvas for my map, but it's saying unreachable code when I try to return the 2nd canvas

    • @MaestroShark
      @MaestroShark  Год назад +1

      “Unreachable” likely means you have a break or return statement before the return statement you want to use. Otherwise you likely defined the function out of scope. If you’re struggling, get the first canvas function working, copy and paste it then change it for your second canvas

  • @qmerk2661
    @qmerk2661 Год назад

    i followed exactly, but the text didnt update. so i copied your code from the link, and tried that, and it still didnt update. any idea why?
    EDIT- ok, so i ended up opening a new project and trying it, and it worked, so idk what was happening.
    also in the previous project i was having an issue where, when i would build verse code, and up top where it says to push verse changes, it also kept saying that i needed to push the games changes. and after id do that it still say the same thing. what exactly causes that to happen? cuz that could of been the issue i was having.

  • @cstarxp
    @cstarxp Год назад

    Can you make a tutorial on making custom health and shield bars?

  • @pa7ri0t
    @pa7ri0t 3 месяца назад

    Great tutorial 🖖💯

  • @Boombear1000
    @Boombear1000 Год назад

    I have a seperate widget hud which is a overlay and the resource counter is showing under the overlay is thereee a way I can makee the resorce counter layer above the hud layer

    • @MaestroShark
      @MaestroShark  Год назад

      Swap the order they’re at in your overlay widget. I can’t remember what the order rules are but if you swap their code the counter should appear on top.

    • @merdo4611
      @merdo4611 11 месяцев назад

      @@MaestroShark can you explain it more?

  • @aaronbobanthomas6522
    @aaronbobanthomas6522 Месяц назад

    thanks a lot bro for this vid !!!

  • @Electriczin
    @Electriczin Год назад

    Thanks very much! Is there any way to resize the text?

    • @MaestroShark
      @MaestroShark  Год назад

      Unfortunately not, that’s a feature Epic should work on! It does resize when hud scale is increased in player settings but obviously that can’t be controlled

  • @ucuaucu
    @ucuaucu 11 месяцев назад

    How can you make it shorten the numbers? eg 40.5k instead of 40500

    • @ninofranci3922
      @ninofranci3922 10 месяцев назад

      divide number by 1000 and add k at the end

    • @UEFNGUIDE
      @UEFNGUIDE 8 месяцев назад

      @@ninofranci3922 im getting loads of zeros at the end on my float when i do that, how can i get rid of these

  • @fdemon8703
    @fdemon8703 10 месяцев назад

    I madea frame for the text, but the text appears behind of the image, any ideas?

    • @JK4.
      @JK4. 10 месяцев назад

      That’s my issue, hope he responds

    • @Deadeyq
      @Deadeyq 5 месяцев назад

      did you fix it?

  • @artbytav
    @artbytav Год назад

    This is great, thanks! How do I get MyResource to show up with commas i.e. 1,000,000 instead of 1000000?

    • @MaestroShark
      @MaestroShark  Год назад +1

      That’d be a great mini-tutorial, I’ll link it for you sometime soon

    • @artbytav
      @artbytav Год назад

      @@MaestroShark any ideas on this? It's been driving me crazy and I can't find any explanations. I noticed if I pass the UI an integer it has commas but a string doesn't is there a way to convert it to an int?

    • @MaestroShark
      @MaestroShark  Год назад +1

      @@artbytav you can use simple integer math to separate into multiple variables. For example:
      MyInt = 937,400,290
      MyString = “”
      Val := MyInt/100000 (which would be 937)
      (If Val>0):
      string += “{Val},”
      And so on

    • @artbytav
      @artbytav Год назад

      @@MaestroShark Thanks so much! I’ll give this a try. I’m an artist so I’m slowly trying to wrap my head around all this verse code. It would be great to see how this integrates into the code in your video/pastebin.

  • @Bubblebunz
    @Bubblebunz 11 месяцев назад

    how did you learn this

    • @MaestroShark
      @MaestroShark  11 месяцев назад

      Learn Verse? Months of just experimentation, and reading the verse api to figure out what I would need.
      Learn this? I already knew how UIs worked so all I needed to do was set one up and know how to count resources

  • @Strom_Rust
    @Strom_Rust Год назад

    Amazing tutorial! Is there a way to contact you to ask a few questions?

    • @MaestroShark
      @MaestroShark  Год назад

      You can contact @MaestroShark on discord

  • @savenkodan
    @savenkodan 5 месяцев назад

    what is done in 5 minutes to manage to record for 40 minutes, you still have to try so hard)

  • @antho_-ph3es
    @antho_-ph3es Год назад

    23:00

  • @jahshaka2000
    @jahshaka2000 Год назад

    very good video ! i wished that "get agent count" for score, eliminations. eliminated and other things was a thing or is it possible somehow? would make life so much easyer

    • @MaestroShark
      @MaestroShark  Год назад +1

      You can use a score manager to get player score. Eliminated/eliminations can be tracked with a tracker device

    • @jahshaka2000
      @jahshaka2000 Год назад

      WOW lol i have made triggers updating the hud ui must check that out! thank u maestro@@MaestroShark

    • @jahshaka2000
      @jahshaka2000 Год назад

    • @williamtocco904
      @williamtocco904 Год назад

      @@jahshaka2000 can you give me the code for the elimination tracker ?