Never use DELAY node in Unreal Engine | Use Timers Instead | Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ต.ค. 2024
  • Learn more about "Delay" nodes here:
    www.doppelgang...
    Get the full Course 40% OFF using this coupon:
    www.udemy.com/...
    Coupon expires on: 11th October 2024 !
    -------------------------------------------------------------------------------------------------------------------------
    Download FREE 2D/3D Assets for Personal and Commercial Use
    productioncrat...
    -------------------------------------------------------------------------------------------------------------------------
    Unreal Marketplace:
    FPS Doors Pack
    www.unrealengi...
    Gameplay Ability System ( GAS ) Blueprints
    www.unrealengi...
    Endless Runner Mega Template
    www.unrealengi...
    -------------------------------------------------------------------------------------------------------------------------
    Support me:
    www.paypal.com...
    buymeacoffee.c...
    -------------------------------------------------------------------------------------------------------------------------
    Join our community:
    / discord
    -------------------------------------------------------------------------------------------------------------------------
    #unrealengine #ITeachWithUdemy #udemy #udemycoupon #gamedev

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

  • @YEAHSURETHINGMAN
    @YEAHSURETHINGMAN วันที่ผ่านมา +3

    How many full games have you shipped? It seems some devs are more interested in the act of making the game, instead of ever actually making anything.

    • @chankulovski
      @chankulovski  วันที่ผ่านมา

      @@YEAHSURETHINGMAN 11 games (some of them are on my itch.io). What I'm teaching here, I'm implementing the same things in my games. I hope these Tutorials are valuable to you. Thanks

  • @darkbionicle6
    @darkbionicle6 2 วันที่ผ่านมา +1

    Hello there nice tutorial
    Delays are really good in certain situations and bad in others, they can be especially problematic with code flow execution where its easy to mess up the order of operation (but thats a general problem with delayed code) so i would generally say to be careful with using them in general!
    With that said, the solution you provided its not a bad solution, but if your main concern with delays is that they stop all code that comes after them, you could simply use a sequence (you can spawn one by holding down S and click with left click anywhere in the blueprint event graph) and use that to split delayed action with normal code execution.
    Hope this helps!

    • @chankulovski
      @chankulovski  2 วันที่ผ่านมา

      @@darkbionicle6 Nope... Delay nodes are bad in every situation. They are made to quickly prototype some mechanics, but then they should be replaced with Timers. And the last but not least, only lazy people are using nodes like Delay, Casting, Event Tick, and they are finding all possible excuse to keep using it.

    • @darkbionicle6
      @darkbionicle6 วันที่ผ่านมา

      @@chankulovski Im not sure where you have gotten the idea that delay nodes are always bad and that lazy people use them, but i can assure you that they are vastly used within the industry at a professional level as well. Sometimes taking shortcuts for certain scenarios is a benefit that one cannot just skip over.
      Moreover in the video as well as in your comment you haven't explained exactly why delays are always worse than timers apart from the specific case you have provided, do you have more to share on that?

    • @chankulovski
      @chankulovski  วันที่ผ่านมา

      @@darkbionicle6 I will send you a link soon. Not everything can be said in one video. I can say more, but then the video will be too long and it will lose the effect of learning (rarely someone watches long videos, unless really really necessary, like creating a whole game/prototype or similar).

    • @darkbionicle6
      @darkbionicle6 วันที่ผ่านมา

      @@chankulovski Awesome, thank you! :)

    • @chankulovski
      @chankulovski  วันที่ผ่านมา

      @@darkbionicle6 www.doppelganger1989.com/blog
      Scroll all the way down :)

  • @VeganApps
    @VeganApps 4 ชั่วโมงที่ผ่านมา

    Never say never! Delays are great.. but not to create infinite loops, of course! oO

    • @chankulovski
      @chankulovski  4 ชั่วโมงที่ผ่านมา

      @@VeganApps No ... NEVER use Delays, use Timers instead (if you want your game to run properly), it's very simple :)

  • @nullhakunamatatabyte8042
    @nullhakunamatatabyte8042 2 วันที่ผ่านมา

    thx for this advice u show always better way the do it

    • @chankulovski
      @chankulovski  2 วันที่ผ่านมา

      @@nullhakunamatatabyte8042 Thanks ! Doing my best :) Thanks for your kind words

  • @faxtm260
    @faxtm260 วันที่ผ่านมา

    I usually use set timer by function name for values that I need to check instead of using the tick event, it's that ok?

    • @chankulovski
      @chankulovski  วันที่ผ่านมา +1

      @@faxtm260 Set Timer By Function Name is also great! That's the same method like in this video with the Custom Event, so instead of Custom Event and Timer, you are using Function, so yes, it ok. Just make sure to Clear And Invalidate the timer when you finish your task.

    • @chankulovski
      @chankulovski  วันที่ผ่านมา

      @@faxtm260 you are doing well, DON'T USE EVENT TICK, EVER ! Check out this Tutorial to see more clearly why :)
      th-cam.com/video/HeotnYTZf80/w-d-xo.htmlsi=KLdtADB6QZhuzHIr

  • @attentivenettle7643
    @attentivenettle7643 วันที่ผ่านมา

    I still don't get why the delay node is more expensive. It seems simple. Can someone explain please?

    • @chankulovski
      @chankulovski  วันที่ผ่านมา

      www.doppelganger1989.com/blog
      Scroll all the way down, it's all there :)

    • @attentivenettle7643
      @attentivenettle7643 วันที่ผ่านมา

      @@chankulovski
      Ok i read it. Thank you so much for replying and for introducing me to even timer

    • @chankulovski
      @chankulovski  23 ชั่วโมงที่ผ่านมา +1

      @@attentivenettle7643 You are welcome! I always reply, so feel free to ask anything you want to know, I will do my best to assist you. More Tutorials are coming, so keep an eye on the Channel. If interested, I have a full Course on Udemy at a 40% discount, 30 days full refund if not satisfied, you can give it a try if needed. Thanks again!