Two Simple Ways to do Random Number Generation in Unreal 5

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

КОМЕНТАРІ • 15

  • @katherinedrennan228
    @katherinedrennan228 Рік тому +2

    Yayyyy thank you!!❤

  • @HarqoGames
    @HarqoGames 9 місяців тому +1

    very important. Thanks for sharing

  • @thelionszen3352
    @thelionszen3352 Рік тому +1

    thank you! I was having brain farts on the switch function.
    i needed this for my rouge-lite room creation

    • @CasonQuisenberry
      @CasonQuisenberry  Рік тому +1

      Np! Wish u the best of luck on the rest of development

  • @aelren
    @aelren 3 місяці тому +1

    thank you. very helpfull

  • @boltyanskiy
    @boltyanskiy Рік тому +2

    Hey man, thanks for your videos. I have a few questions about game developing in UE5 with Blueprints.
    1. Do you think it's real or is it worth it to create a game using only Blueprints? Of course I'm talking about relatively small projects but with simple combat system, puzzles, RPG elements etc.
    Also I mean that this game wouldn't be a buggy freezing mess.
    2. What kind of a game are you developing? Do you use C++ or only Blueprints?

    • @mohammadsaeed4511
      @mohammadsaeed4511 Рік тому

      Every game must have both c++ and blueprints, by using both you can make a Fabolous game.

    • @CasonQuisenberry
      @CasonQuisenberry  Рік тому +4

      Great questions! Creating a game using only Blueprints is definitely worth it, you can learn the basics of Unreal and programming in general without needing a lot of C++ knowledge. Making games with Blueprints would not be buggy, there can be a lot of lag with Blueprints, but if you optimize it correctly it can run just like any other game. As for your other question, it depends on the project, I make a lot of small games that I only use Blueprints for, but my big projects I use combination of C++ and Blueprints. This is how most Unreal games are made as well. But using Blueprint only is not necessarily bad (it does have a lot of stigma around from "real coders"), but do whatever you feel comfortable with.

  • @grimmsans4578
    @grimmsans4578 3 місяці тому +1

    oh i was using floats instead of ints X_X

  • @Morvo_
    @Morvo_ 3 місяці тому +1

    Can you skip 0 index in Switch? Can you leave it empty and start linking nodes from 1 index? So that I could do 1-6 range in rando, rather than 0-5.

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

      U can alter the settings of what number starts by clicking on the Switch on Int node. The details panel will have a setting you can change to start number

    • @Morvo_
      @Morvo_ 3 місяці тому +1

      @@CasonQuisenberry Oooooh, thank you so much!

  • @AlGny2
    @AlGny2 3 місяці тому +1

    Thank

  • @mohammadsaeed4511
    @mohammadsaeed4511 Рік тому +1

    Bro, how can we get random value upon enums?

    • @CasonQuisenberry
      @CasonQuisenberry  Рік тому +1

      Enums are based upon integers, so either of these methods would work.