Delegates | Implementing a Game Phase System | Section 2 | Part 2 | Core | RTS Framework | UE5

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 มิ.ย. 2024
  • Continuing Section 2 we discuss our Game Phase System and cover Delegates in Unreal Engine. We then begin the implementation of the Game Phase System.
    Timestamps:
    00:00 Start
    00:05 Lesson - Delegates, rvalue and lvalue
    05:20 Code - Implementing Game Phase System
    Support us and gain access to the project files, early access to videos and more on my Patreon: / rogueentity
    Support, Share, Follow or just become a member of a Game Developer Community
    Discord: roguentity.wixsite.com/rogue-...
    Follow Twitter: / rogueentity2
    Please leave a Like if you found the video helpful and Subscribe for more.
    Thanks for watching!
    #UE5 #UnrealEngine5 #UE5Tutorial #UnrealEngine #GameDev #GameDevelopment
    ______________________________________________________________________
  • เกม

ความคิดเห็น • 11

  • @kalleskit
    @kalleskit 5 หลายเดือนก่อน +1

    Big kudos once again to you for these videos.

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

      Thanks, was a bit of a gamble I am glad people are enjoying them. Hoping once we get a good framework base we can use it to do some more advanced tutorial topics.

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

    I am getting error in StartNextPhase() function the error is "No Operator+ matches arguments of type ERTSCore_GamePhaseState and int" , line "const int32 NextPhaseIndex = static_cast(GetGamePhaseState() + 1)"
    please take a look

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

      Is your ERTSCore_GamePhaseState a class? (enum class ERTSCore_GamePhaseState) ?

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

      Ah wait i think you have a misplaced bracket on the cast, should be
      const int32 NextPhaseIndex = static_cast(GetGamePhaseState()) + 1;

    • @webpoint4737
      @webpoint4737 หลายเดือนก่อน +1

      @@rogueentitydev Thank you

    • @user-qo4yb3ru7c
      @user-qo4yb3ru7c 19 วันที่ผ่านมา

      @@rogueentitydev Well I also specified enum class ERTSCore_GamePhaseState, but the error still points to const int32 NextPhaseIndex = static_cast(GetGamePhaseState() + 1);
      Even though when I put +1 for brackets it worked.