How To Make Simple Power Ups In Unreal

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ธ.ค. 2024

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

  • @KZaan-kp3lx
    @KZaan-kp3lx 5 หลายเดือนก่อน

    Hi! I really liked the tutorial, however i have some questions. If i want the powerup to be able to be pickedup, but usable later and not instantly, how would one go about this?

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

      Hi, so a really easy and simple way to go about it, would be to just make boolean variables for the power ups. Set them to false by default and then set them to true when you pick up the power up. Then you can create functions for them and hook them up to keybinds for example. And before you run the function just check if the boolean for that power up is true. And then set it back to false after activation.

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

    any powerups like invisible or super junping

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

      Hi, might make a video on that in the future. However for those two specifically you can just create an actor like the ones here. Then for invisibility either set the character mesh to "Hidden in Game" and after delay set it back to false. Or create a see through material and change the material of your character to that for more of the "cloaking effect" rather than full invisibility.
      And for super jumping you just need to change jumping velocity in your character movement component inside your character blueprint.

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

    Got a problem with my health not refreshing everything else works tho , help?

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

      It might be because of what kind of health system you are using. But first thing I would check is if in the Restore Health function everything is plugged properly. And then also you can do a test with Print string into event tick for it to print out your current health. That way you will be able to tell if the health is getting added and the issue is somewhere else. Or if the whole restoring health part doesn't work.

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

    does this works in UE4?

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

      Hi, yes this should all work in UE4 just like it works in UE5.

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

      @@that_skye okay thanks