Gisli's game development channel
Gisli's game development channel
  • 52
  • 209 664
How to make UI in Unreal Engine 5 - Learn the basics
0:00 Introduction
0:00 How to make a Widget Blueprint
2:15 How to add a text component
4:05 How to add a widget to the screen
7:45 How to align to the center with a canvas panel
14:50 How to add a button component
17:30 How to add logic to a button
20:20 Spawn actor with a UI button
25:10 How to update the text component through an event
Join me in this Unreal Engine tutorial where I walk you through creating a Widget Blueprint from scratch! I'll show you how to open the content browser, navigate to the user interface options, and create a brand-new user widget. By following along, you'll learn the foundational steps to start building UI elements for your projects.
Next, I'll guide you through adding essential UI components like text and buttons. You'll see how to drag these components into the widget and configure their properties, including text content and appearance, so you can fully customize your interface.
I'll also demonstrate how to implement button functionality. You'll learn how to create a button, add a text label, and set up event listeners to respond to button clicks. I'll show you how to display messages on the screen, giving you hands-on experience with interactive UI elements.
A key part of the tutorial covers how to spawn game actors when UI buttons are clicked. I'll explain how to create an actor blueprint and use button events to generate these actors dynamically in the game world, helping you understand the connection between UI and gameplay mechanics.
Finally, I'll teach you how to update UI elements based on in-game events, such as displaying the number of spawned actors. You'll learn how to retrieve the count of specific actors and present this information on the UI, creating a responsive and dynamic interface.
Don't forget to like, comment, and subscribe for more Unreal Engine tutorials! #UnrealEngine #GameDev #UItutorial #Blueprints
มุมมอง: 52

วีดีโอ

I got a new job making virtual worlds!
มุมมอง 1172 หลายเดือนก่อน
I've been wanting to start creating content again for this channel for a while. Many things have changed in the last few months after I left my startup. But now I'm happy to share that I'm the new Creative Director at Klang Games! Super excited to continue building the next generation of virtual worlds
I'm back from my game dev detox trip!
มุมมอง 1166 หลายเดือนก่อน
In this video blog I talk about why I decided to jump on a plane and go to Kyoto for a few weeks to break rest. I've tried to take a a break for a while but I always ended up having my mind consumed by game dev, projects that I could work on and things I would be missing out on. This is my first blog type video so I'm pretty excited to see how it turns out
How to Create a Hexagon Tile and Implement Tiling in Unreal Engine 5 | Blender & Blueprints Tutorial
มุมมอง 4.2K7 หลายเดือนก่อน
0:00 Intro 0:57 Create hexagon tile in blender 3:21 Understanding how to make tiling hexagons 6:39 Implement a hexagon strip in Unreal Engine 16:55 Implement the full hex grid in Unreal Engine In this tutorial, I walk you through the step-by-step process of creating a hexagon tile in Blender. I explain key dimensions like radius and depth to ensure the tile is perfectly suited for tiling in Unr...
Enhanced Input Unreal Engine - Simple WASD Tutorial
มุมมอง 5K11 หลายเดือนก่อน
0:00 Intro 0:43 Setup environment 2:10 Input Mapping Context and Input Action 6:48 Input Modifiers with negate 11:07 Add movement input 13:17 Swizzle modifier and finish WASD movement 17:03 Outro Unlock the power of Unreal Engine 5 with our comprehensive tutorial on the enhanced input plugin! In this step-by-step guide, we'll walk you through the basics, helping you gain a solid understanding o...
How to destroy actor with mouse click - Unreal Engine Micro Tutorial
มุมมอง 54711 หลายเดือนก่อน
In this video I share how to setup the blueprints in unreal engine to destroy an actor in only 30 seconds Let me know in the comments if you want to see more of these videos!
[Series Trailer] - Unreal Engine Interaction in blueprints
มุมมอง 60611 หลายเดือนก่อน
This video introduces my unreal engine tutorial series that teaches you how to to do interaction in unreal engine. This series features 5 detailed videos, aimed for beginners and intermediate developers to learn everything there is about interaction between objects in unreal engine Unreal Engine Interaction - Actor to actor communication tutorial th-cam.com/video/kr3dNo55b6k/w-d-xo.html Unreal ...
Into The Breach - New Player Experience / FTUE Analyzed
มุมมอง 949ปีที่แล้ว
00:00 Intro 00:43 Start Screen 08:22 Team Selection 16:05 Team Selection In this exciting video, I'm examining what works and what doesn't in games that I love. This isn't just for me; it's a learning experience I want to share with fellow game developers! In today's episode, I'm turning my attention to the indie gem "Into the Breach." 🌟 We'll dissect its new player experience and uncover the d...
Simple Actor Movement in Unreal Engine 5 - Step-by-Step Tutorial
มุมมอง 14Kปีที่แล้ว
Master the basics of Unreal Engine with our beginner-friendly guide on moving actors! Learn to teleport actors using the BeginPlay node, animate movement with the tick function, and trigger actions under specific conditions. Ideal for new game developers, this tutorial is your first step towards creating dynamic games. Subscribe for more essential Unreal Engine skills. #UnrealEngine #GameDevelo...
How to write a simile gen rule in Bazel
มุมมอง 1.4Kปีที่แล้ว
#bazel #programming #beginners In this tutorial I go through how to create the most simple bazel rule to get started. We take two text files and use a simple command to combine the two files into another file
Unreal Engine 5 Tutorial - Convert blueprint to c++
มุมมอง 21Kปีที่แล้ว
#unrealengine #unrealtutorial Project Setup The video begins with setting up a new C Unreal Engine project and creating two essential actors: 'BP_BombDispatcher' and 'BP_Bomb'. The initial logic implemented in Blueprints involves a function to spawn bombs every two seconds at random locations. Blueprint Logic The presenter demonstrates the Blueprint logic for spawning bombs by setting a timer a...
How to create a full python app with Bazel
มุมมอง 15Kปีที่แล้ว
How to create a full python app with Bazel
Unreal Engine Interaction - Event Dispatchers tutorial
มุมมอง 6Kปีที่แล้ว
Unreal Engine Interaction - Event Dispatchers tutorial
Unreal Engine Interaction - Click on actor tutorial
มุมมอง 36Kปีที่แล้ว
Unreal Engine Interaction - Click on actor tutorial
Unreal Engine interaction - Overlap with the pawn tutorial
มุมมอง 12Kปีที่แล้ว
Unreal Engine interaction - Overlap with the pawn tutorial
Unreal Engine interaction - Trigger an event on all actors in the world tutorial
มุมมอง 4.1Kปีที่แล้ว
Unreal Engine interaction - Trigger an event on all actors in the world tutorial
Unreal Engine Interaction - Actor to actor communication tutorial
มุมมอง 6Kปีที่แล้ว
Unreal Engine Interaction - Actor to actor communication tutorial
Unreal Engine 5 Tutorial - Using C++ to make cleaner blueprints
มุมมอง 1.8Kปีที่แล้ว
Unreal Engine 5 Tutorial - Using C to make cleaner blueprints
Unreal Engine 5 -Using automation to compile blueprints via command line (and how-to with Bazel)
มุมมอง 3.2K2 ปีที่แล้ว
Unreal Engine 5 -Using automation to compile blueprints via command line (and how-to with Bazel)
How to package and deploy the output of a bazel build action
มุมมอง 4K2 ปีที่แล้ว
How to package and deploy the output of a bazel build action
A step by step bazel beginner guide
มุมมอง 36K2 ปีที่แล้ว
A step by step bazel beginner guide
Create a Stylized Scene in Unreal Engine 5 | Step-by-Step Beginner Tutorial
มุมมอง 19K2 ปีที่แล้ว
Create a Stylized Scene in Unreal Engine 5 | Step-by-Step Beginner Tutorial
Game Dev Diary #5 - Trying to use Bazel to compile blueprints in Unreal Engine
มุมมอง 5182 ปีที่แล้ว
Game Dev Diary #5 - Trying to use Bazel to compile blueprints in Unreal Engine
Game Dev Diary #4 - Project Existence, open-source thoughts on Unreal/Bazel rules and more!
มุมมอง 1262 ปีที่แล้ว
Game Dev Diary #4 - Project Existence, open-source thoughts on Unreal/Bazel rules and more!
Game Dev Diary #3 First attempts to get Unreal Engine compiled and built with Bazel
มุมมอง 3752 ปีที่แล้ว
Game Dev Diary #3 First attempts to get Unreal Engine compiled and built with Bazel
Game Dev Diary #2 - Nordic Game Conference material and New Player Experience design
มุมมอง 1492 ปีที่แล้ว
Game Dev Diary #2 - Nordic Game Conference material and New Player Experience design
Game Dev Diary #1 - Nordic Game Awards prep, UE5 procedural generation and pip install in Bazel
มุมมอง 2122 ปีที่แล้ว
Game Dev Diary #1 - Nordic Game Awards prep, UE5 procedural generation and pip install in Bazel
Master Bazel for Python Projects | Full Tutorial
มุมมอง 6K2 ปีที่แล้ว
Master Bazel for Python Projects | Full Tutorial
How to setup a simple bazel build action from scratch
มุมมอง 5K2 ปีที่แล้ว
How to setup a simple bazel build action from scratch
Project Existence: Unreal Engine Development Session focused on interacting with agents
มุมมอง 833 ปีที่แล้ว
Project Existence: Unreal Engine Development Session focused on interacting with agents

ความคิดเห็น

  • @renstillmann
    @renstillmann 15 วันที่ผ่านมา

    I think you are a great teacher. And this helped me a lot as a UE5 newbie. I am trying to make a VR game, but want to test the game without hmd. Even though i own one I find it easier to be able to test most things quickly without headset on. I know about meta XR simulator and tried it but the controls are not ideal (input mappings for moving hands or moving character). My own system is a lot easier. I got everything working almost but just following multiple tutorials and mixing them into one causes a little bit of a mess. And although i can now move/rotate hands and grab objects, I can't seem to move the character around anymore/look around. So trying to "start from scratch" with a clean project. But I already learned quite a few things. And hope to be able to continue with the next steps for my project soon! 😁 I hope tomorrow to continue. I subscribed+bell to your awesome channel. 😎

  • @jamesbarnette4350
    @jamesbarnette4350 19 วันที่ผ่านมา

    volume cranked and can barley hear

    • @gisli
      @gisli 16 วันที่ผ่านมา

      Yeah I know! sorry. still trying to figure out the audio on my videos! Hopefully this will be better in the future :D

  • @julwe-eo5rt
    @julwe-eo5rt 24 วันที่ผ่านมา

    Amazing tutorial mate, keep it up

    • @gisli
      @gisli 16 วันที่ผ่านมา

      Glad you liked it

  • @Denbot.Gaming
    @Denbot.Gaming หลายเดือนก่อน

    I've not followed it all yet, but so far worlds apart from all the other clowns just talking through the templates making out that they know what they're doing.

    • @gisli
      @gisli 27 วันที่ผ่านมา

      Happy to hear that! Hope it'll be useful :D

    • @Denbot.Gaming
      @Denbot.Gaming 27 วันที่ผ่านมา

      @@gisli it should was, I'm working on AI behaviour now and wave spawning... before you know it 6 days have passed by and I've grown a full beard 😅

  • @HenrikoMagnifico
    @HenrikoMagnifico หลายเดือนก่อน

    I'm not sure I understand, what is the benefit of this method over just baking static lights?

    • @gisli
      @gisli 27 วันที่ผ่านมา

      If you use static lights then there no way to move the object. I originally did this to make something a small game where you could rotate the little environment as a puzzle game so this was an interesting solution. But there are usually many solutions to different challanges so this is just to present an option that might work in certain scenarios :)

  • @iansmith3301
    @iansmith3301 หลายเดือนก่อน

    Is this a good technique for use in network replication or multiplayer games?

    • @gisli
      @gisli 27 วันที่ผ่านมา

      No, this is not a good solution for that. I would look into one of the built in movement components (characterComponent for example). Even though getting multiplayer movement working is not too complicated, it'll never be fast enough to look smooth. So you need to look into a concept called "Client side prediction" where the game clients guess where the server is going. and if the server sends different information then the game client will snap to the correct location (sometimes called rubber banding)

  • @Алексей-х6в4у
    @Алексей-х6в4у หลายเดือนก่อน

    Thanks a lot!

  • @vulca9372
    @vulca9372 หลายเดือนก่อน

    hello, It's really a good tutorial, but I really need the next part of this tutorial, do you know when you'll do it ? 🤔

    • @gisli
      @gisli 27 วันที่ผ่านมา

      Glad it helped! I've just had some much going on in life that I haven't been able to follow the channel too much (or deliver the promised next chapter). Hopefully very soon!

    • @vulca9372
      @vulca9372 26 วันที่ผ่านมา

      @ thanks you a lot, don't worry if you can't do it in time, but I need it before the january. But again don't press yourself 😊 (sorry for my poor english)

  • @Alukin19
    @Alukin19 หลายเดือนก่อน

    You have my sub for that. Pleas keep develop it.

  • @GrounddevLF
    @GrounddevLF 2 หลายเดือนก่อน

    if you are doing this with Spawn actor for more advanced tiles you have to set collisions off for that actor but the math still works the same!

  • @alessiaemail1230
    @alessiaemail1230 2 หลายเดือนก่อน

    i love you soft spoken youtube man

  • @twitchynose8474
    @twitchynose8474 2 หลายเดือนก่อน

    I've worked there before, bad choice. Maybe ask them about their turnover rate to get an idea...

    • @twitchynose8474
      @twitchynose8474 2 หลายเดือนก่อน

      or talk to their last creative director

    • @gisli
      @gisli 2 หลายเดือนก่อน

      Thanks for your insight! I actually spent a huge amount of time interviewing and evaluating the company and how its a fit for me and needed to factor in both good and the bad. Klang is definetly not your traditional game development studio and I think its because the product we are building is pretty unique. And I can totally see it not being for everyone, but for me, this is the type of environment where I thrive :D I hope you found a studio that you are happy at!

    • @twitchynose8474
      @twitchynose8474 2 หลายเดือนก่อน

      @@gisli I have, much happier now. Best of luck

  • @daviddimalanta259
    @daviddimalanta259 2 หลายเดือนก่อน

    i tried on my spaceship as a PAWN and it didn';t work

  • @TitusBray
    @TitusBray 2 หลายเดือนก่อน

    13:22 Why Modulo (%) 2 works to check for even numbers? It's a specific property of even numbers, they can ALWAYS be divided by 2 with no remainder. The Modulo/modulus is sometimes referred to as the remainder operator in programming and is a helpful for these situations. If Modulo 2 of some value you're checking == 0 then you have an even value, otherwise it's odd.

  • @nemac23
    @nemac23 2 หลายเดือนก่อน

    What's the ideal way of managing and switching many contexts?

  • @PhilippeSelo92
    @PhilippeSelo92 2 หลายเดือนก่อน

    Thank you !! That was super useful and saved me a tons of time trying to figure out how to make Bazel and PIP work.

    • @gisli
      @gisli 27 วันที่ผ่านมา

      Happy to help! :D

  • @fraksel_
    @fraksel_ 2 หลายเดือนก่อน

    very good tutorial! thanks!!

    • @gisli
      @gisli 27 วันที่ผ่านมา

      Thank you for your message! Glad you like it :D

  • @Siwanbayek
    @Siwanbayek 2 หลายเดือนก่อน

    Thank you so much for this

    • @gisli
      @gisli 27 วันที่ผ่านมา

      No problem! Happy to help :D

  • @__-ep6ep
    @__-ep6ep 2 หลายเดือนก่อน

    My god, this is the worst tutorial that I've ever seen. So much unuseful information.

  • @RvSWAZvT
    @RvSWAZvT 2 หลายเดือนก่อน

    3 tutorials later... Finally a working tutorial! All the other tutorials didn't explain what they did in depth, the math behind it, and my results couldn't have been further apart... literally... Thank you for having a tutorial that actually works!

    • @gisli
      @gisli 27 วันที่ผ่านมา

      Glad you like it! I really struggled when I was figuring this out myself so I'm happy that the tutorial helps

  • @cemlynwaters5457
    @cemlynwaters5457 2 หลายเดือนก่อน

    Great video, thank you for sharing how to use Bazel with UE! ❤

    • @gisli
      @gisli 27 วันที่ผ่านมา

      Thank you! I'm still looking for an oppertunity to use it in a real production environment, but its very promising

  • @DanteAngeli-d6u
    @DanteAngeli-d6u 3 หลายเดือนก่อน

    I subscribed! very good tutorial, thank you! if you lookd for ideas on hexgrid tutorials: I'd like to make an hexagonal shaped hexgrid map, where each tile is 1km square, and has individual procédural biomes (topography, faune, flore etc. but not like the one from houdini, I'd like the topography to look natural, not like hexagones at different heights kinda thing) if you have any advise that woud be welcome. (trying to make an adventure game with this kind of map, and I'm completly new at this... chat GPT says it can be done, and I wanna beleive it but easier said than done, nothing he tells me works lol)

  • @toshitea732
    @toshitea732 3 หลายเดือนก่อน

    Hey Gisli, great video ! I'm desperately looking for a way to use my 3dconnexion Spacemouse to navigate in my architectural projects in UE5 and I'm not talking about using the spacemouse in the editor. that works fine, but when I hit the play button and walk around my Building, the only method I can use is teleporting. It would be much easier to fly around with my spacemouse. Do you know how to solve that ? there is no tut on the internet and I'm still not so firm in UE5. I saw one guy on youtube doing what I want, but he doesn't explain how he did it. th-cam.com/video/vZyOn8zOS2Q/w-d-xo.htmlsi=DO7kLGSM64qrHeJs very kind regards Toshi

  • @łłłł-s2x5i
    @łłłł-s2x5i 3 หลายเดือนก่อน

    Ok I already have a working Grid System but I think I made some thing my PC dosent like Compilieng it takes (no joke) 10 secs its madness. I hope yours is fixing my Problem

  • @MarshallMcGee
    @MarshallMcGee 3 หลายเดือนก่อน

    Hey there! Brand new to lighting in unreal, I’m curious, does this technique become a bit harder to apply if you’re doing a day/night cycle? Like you’d have to find a way to blend between different sky colors etc.

  • @struggling3dartist910
    @struggling3dartist910 3 หลายเดือนก่อน

    is this going to be affected by frame rate?

  • @skeletony7515
    @skeletony7515 4 หลายเดือนก่อน

    Vaib

  • @rattha932
    @rattha932 4 หลายเดือนก่อน

    You have no idea how many times I tried looking up for a ‘proper’ hexgrid tutorial, you’ve earned a sub mate!

    • @gisli
      @gisli 3 หลายเดือนก่อน

      Happy to hear! :D waiting for live to calm down a bit to continue with the series

  • @relaxtoe
    @relaxtoe 4 หลายเดือนก่อน

    Apparently if you don't select "Swizzle" and select "Scalar" it looks like it lets you input a Vector; there can be 2 or 3 inputs if you have selected Axis 2D or Axis 3D for whichever input action. Just to let everyone know, only the first input does anything. You'd need to use "Swizzle".

  • @benmerrick3d
    @benmerrick3d 4 หลายเดือนก่อน

    Do you know how to place these tiles from a texture? Ie water tiles on white part of texture land on black, etc? That would make it really easy to customise

  • @АндрейЗнак-и1б
    @АндрейЗнак-и1б 4 หลายเดือนก่อน

    Thanks, collision preset also can change by the way get class?get

  • @CharlieTheA
    @CharlieTheA 4 หลายเดือนก่อน

    Excellent tutorial, though I had to back up a few times and replay where I missed something. I'm just getting started with Unreal though so maybe it's just my lack of familiarity. Thanks, looking forward to the next one.

  • @sv9141
    @sv9141 4 หลายเดือนก่อน

    Cool, works awesome and its a perfect starting point for my project. Any tips on how to prevent faster movement speed in diagonals?

  • @natn8r124
    @natn8r124 4 หลายเดือนก่อน

    Thanks a ton!! Love the easy walkthrough!!!

    • @gisli
      @gisli 4 หลายเดือนก่อน

      Glad it helped!

  • @angelomosca8649
    @angelomosca8649 4 หลายเดือนก่อน

    Hey man, thanks, nice tutorial! A strange thing happened to me. Following your instructions, when I pressed W it went backwards and when I pressed S it went forward. In the input mapping I inverted the "negate" modifiers, attributing it to the W instead of the S. Strangely now the movement is correct, even if the logic is backwards ¯\_(ツ)_/¯

    • @sv9141
      @sv9141 4 หลายเดือนก่อน

      same here. I rotated the player start object 180 and now it works ok

  • @jennaschulte212
    @jennaschulte212 4 หลายเดือนก่อน

    Thank you so much for this tutorial! I cant wait for future tutorials in this topic! Amazing job!

    • @gisli
      @gisli 4 หลายเดือนก่อน

      Thanks a lot! I'm still working on it, hopefully it'll be informative and fun

  • @isaacwardmusic
    @isaacwardmusic 5 หลายเดือนก่อน

    Do you have a video showing where you made BP_BouncingBall?

  • @jorged.velazquez7579
    @jorged.velazquez7579 5 หลายเดือนก่อน

    Omg thanks! There's no spanish info of this :c your explanation is aweasome even for an spanish listener like me!

    • @gisli
      @gisli 5 หลายเดือนก่อน

      Thanks for your comment! it means a lot. I try to make tutorials that are easy to understand and explain in an accessible way so I'm very happy to hear that it translates well into different languages!

  • @vbrao
    @vbrao 5 หลายเดือนก่อน

    Such minuscule fonts,

    • @gisli
      @gisli 5 หลายเดือนก่อน

      Sorry about that! this was one of my first videos and I didn't pay close enough attention to this

  • @patrickmoates8030
    @patrickmoates8030 5 หลายเดือนก่อน

    I'm glad you've taken steps to look after yourself. You, and who you will be, absolutely deserve this consideration and the benefits it brings. Btw. I just found your channel and your content is amazing. However, you partnership with yourself, in working on yourself and taking care of your mind and spirit, is modular to everything you do. So no matter what happens, if you never make another video-- do keep looking out for yourself. It's a friendship worth your time.

    • @gisli
      @gisli 5 หลายเดือนก่อน

      Thank you for your kind and insightful words! I think its important to also create honest and open content and share even when things aren't perfect. I've started to feel more inspiration and motivation but it takes time. Building upon you comment I kept thinking "I need to get back to how I was" when in all honesty, I'm evolving and should much rather be thinking about where is the path forward and how can I walk confidently in the direction I'm passionate with

    • @patrickmoates8030
      @patrickmoates8030 4 หลายเดือนก่อน

      @@gisli Hi, again. I know it's been a month since we spoke but I wanted to check in on you and see how you've been doing.

    • @gisli
      @gisli 4 หลายเดือนก่อน

      @@patrickmoates8030 Thanks for your message! Its been a busy few weeks, went to Gamescom last week to help a startup that I'm involved with, done a few short contract gigs. And next week I'll start a full time position in a new country :D Haven't had much time to focus on the channel with everything that's going on, but I'm hoping that once I settle in the new country I can continue making content D:

    • @patrickmoates8030
      @patrickmoates8030 3 หลายเดือนก่อน

      @@gisli That's great to hear man. Sorry for the late reply. Keep being kind to yourself.

  • @appleseedgames6934
    @appleseedgames6934 5 หลายเดือนก่อน

    My script I made wasn't showing up in the actors parent dropdown list which lead me down a big rabbit hole which caused my project to become corrupt, how wonderful

    • @gisli
      @gisli 5 หลายเดือนก่อน

      That sucks! I strongly suggest checking out some sort of version control. I personally use git (but I know many people don't like if for game dev). One thing that you can try, is deleting your "Saved, Intermediate and Binaries" folders from your project. Its very likely that your corruption is hiding somewhere in there and just needs to be regenerated

  • @mrh8984
    @mrh8984 5 หลายเดือนก่อน

    Just what I need. But I set this up, hit play, I have it set to a key stroke press and when I hit the key (R) it disappears, ideas?! I even set the distance to 0 and it disappears. Would love some guidance. Thanks.

    • @mrh8984
      @mrh8984 5 หลายเดือนก่อน

      I was using the First Person Example to test, and as soon as I hit the key it would actually send it under the ground as the ground level Z is 190 and the cube would go under the ground geometry and go to 0. So I set the Z location in SetActorLocation to 190. Question now is how can I just add movement to wherever the cube is to begin with? without it going to 0 and without having to SetActorLocation to 190.

    • @gisli
      @gisli 5 หลายเดือนก่อน

      The trick there is you want to first (in the tick function). call "GetActorLocation) which will give you the 3D position of your cube. Then its just a matter of adding ( + ) some value, for example (1,0,0) to the current actor location. Then lastly, you call "SetActorLocation" with the result of your add function Hope this makes sense :D

  • @StefanoCelsan
    @StefanoCelsan 5 หลายเดือนก่อน

    Thanks, this helped out a lot!

    • @gisli
      @gisli 5 หลายเดือนก่อน

      Glad it helped!

  • @meida_oficial
    @meida_oficial 5 หลายเดือนก่อน

    Love it ❤

    • @gisli
      @gisli 5 หลายเดือนก่อน

      Awesome! Happy to have helped :D

  • @t3hpwninat0r
    @t3hpwninat0r 5 หลายเดือนก่อน

    Great video! I had wondered about how to do the coordinates calculations for this in the past but I'm not good at math and wasn't even sure if hex grids would be better than square grids in my project so I gave up on that and just used a simple square grid. There is only one piece of feedback I have: you can combine the nodes into a function that takes the loop indices as inputs and returns the coordinates of the static mesh instance as an output. You could even add a boolean input "WorldCoordinates" to return world coordinates in the output rather than each tile's actor-relative local coordinates to make the function more useful. This does two things: first the graph will look much cleaner and second you can call this function from another event graph to find out where to place something if you want it to appear on top of a specific tile :)

  • @lukebrowell9062
    @lukebrowell9062 5 หลายเดือนก่อน

    Imagine that your hexagons are each made of 6 equilateral triangles. Now imagine a grid of equilateral triangles, each alternating its direction either pointing up or down. Now look at your formula for height: Square root of three multiplied by the radius (which is also the length of side of your equilateral triangles). An equilateral triangle can be split into two right angle triangles. Now look at how Pythagoras can be simplified for your use case.

    • @gisli
      @gisli 5 หลายเดือนก่อน

      That's a great explanation! It really looked like "magic" but now I have a pretty good understanding of this

  • @crazyguy7585
    @crazyguy7585 5 หลายเดือนก่อน

    very few people know that unreal 5 have C++ Header preview tool in Editor tool section their is a tool to convert blueprint to C++ tool name C++ Header preview tool. can u cover that also in ur future videos.

    • @gisli
      @gisli 5 หลายเดือนก่อน

      I had no idea! definitely something I want to check out :D

  • @Kayioki
    @Kayioki 6 หลายเดือนก่อน

    This was perfect, helped me out modifying the original top down view that comes with unreal engine that does not come with wasd movement I used this to change the click based movement. thanks. I'm new to this stuff and it was easy to follow. Also is it posible to add to this method jumping? I guess it will have something to do with the Z access that was not used in the controller view

    • @gisli
      @gisli 5 หลายเดือนก่อน

      Glad you liked it! The Third Person Pawn has a function called "Jump" that handles jumping so you might be able to hook up the enhanced input and trigger that command. But I'll admit, there comes a point where its easier to not start with the templates, they are great for learning but once you get a hang of how the input works, camera and movement its sometimes better just to try and set it up to do exactly what you need for your game

    • @Kayioki
      @Kayioki 5 หลายเดือนก่อน

      @@gisli Yes! I found out how to add it it was simpler that I expected.

  • @leonv983
    @leonv983 6 หลายเดือนก่อน

    Thank you, man. I've been looking through unreal docs and numerous tuts, but your case was the ideal implementation for me (clicking objects with mouse without using UMG). Cool cool cool

    • @gisli
      @gisli 5 หลายเดือนก่อน

      Glad it helped!

  • @Murmur95
    @Murmur95 6 หลายเดือนก่อน

    next tutorials when? I was hoping to randomize terrain on the hexes but I noticed that they are all the same material.

    • @gisli
      @gisli 5 หลายเดือนก่อน

      In this video we are using Instanced Static Meshes so if you apply a material to it then all the tiles will end up having the same material. I'm still working on the next one! happy to hear that you are excited for it. gives me motivation to make it even better :D