Rollback Netcode Explained in 3 Minutes

Поделиться
HTML-код
  • Опубликовано: 8 фев 2025

Комментарии • 37

  • @silentdebugger
    @silentdebugger 10 месяцев назад +14

    Isn't there somewhat of an issue with anticipation frames getting eaten by rollback which makes reads more difficult? Like suppose a player does a raw super and the rollback code lags a bit - when it finally does catch up after a few frames it will "fast-forward" them a bit past the wind-up for their attack, which gives the opponent less time to react. Or am I misunderstanding the technique?

    • @DualWieldingDad
      @DualWieldingDad  10 месяцев назад +13

      Yep you’re right. You can chalk that up to bad luck and one of the drawbacks. If someone executes that raw super in lag and rollback is predicting the idle animation, then it catches up, it looks like it’s fast forwarding but it’s “rolling back” from the idle animation to the super animation and all of a sudden you’re getting wrecked by a super you couldn’t predict. Definitely a drawback.

  • @igorgiuseppe1862
    @igorgiuseppe1862 10 месяцев назад +44

    open source is like an school, where teatchers teach students a lot knowlege so they dont have to rediscover the fire and reinvent the whell, the civilization have mileniuns of accumulated knowledge ,almost the entire evolution of the civilization was made by sharing knowledge. yet people completely under estimate it and under value it, under fund it.
    the main reason why some proprietary codes are better than some alternative counterparts is that open source is underfunded as hell.
    yet, despite being underfund it often get the same level of quality or is much better than the proprietary counterparts.

  • @sageironshooter2442
    @sageironshooter2442 10 месяцев назад +3

    earned my sub im pretty tech illiterate and you broke it down into easy to understand pieces that i could use to make the conclusions on my own, overall to the point and extremely informative. well done! 👌🏼

  • @strangebasis
    @strangebasis 14 дней назад

    This is a good video. I like the example you made and this is helping de-rust how I might approach a rollback netcode project of my own!

    • @strangebasis
      @strangebasis 14 дней назад

      Trying to make some chocolate cake :)

  • @woltairedubstpep4641
    @woltairedubstpep4641 10 месяцев назад +2

    Great video! Gonna link people to this in the future when they want to learn about rollback

  • @gasparsigma
    @gasparsigma 10 месяцев назад +14

    I don't understand why Bandai Namco tried GGPO on a DBZ game and decided to not do it for Smash Ultimate

    • @ryanfriscia1132
      @ryanfriscia1132 10 месяцев назад +12

      Nintendo didn't budget the retrofitting like Bamco did for DBFZ. Even if it was a hackjob, Arcsys has experience with a rollback pipeline. Smash would also not get the same proportional marketing boost from rollback. Fighting games getting rollback gets signal boosted to the whole FGC, but Smash is so big that the profit turnaround is pennies to what they've already made.

    • @YOUFREAKINNERD
      @YOUFREAKINNERD 10 месяцев назад +4

      @@ryanfriscia1132so in other words, too much money to care. Sounds like Nintendo.

    • @KaijuKitten
      @KaijuKitten 6 месяцев назад +2

      Actually, Sakurai tried it and he mentions it.
      He stated a lot of strange things started to happen though and he didn't like it.
      I think that he didn't continue with the development of rollback because of time constraints.
      The amount of stuff you would have to account for in rollback is not like any fighter.
      Stages, items, and all 80 characters

    • @VicenteCarretero
      @VicenteCarretero 4 месяца назад

      i know this is an old comment now but after watching this video i could not image smash with rollback, i feel like it would create a confusing mess

    • @bunkerman9836
      @bunkerman9836 4 месяца назад +1

      And didn’t use it on sparking zero 😢

  • @RoastedPheasant
    @RoastedPheasant 10 месяцев назад +8

    The only thing uniquely frustrating about Rollback vs Delay is that sometimes you can get rolled back into being hit, or have a hit you got on your screen taken away.

    • @DualWieldingDad
      @DualWieldingDad  10 месяцев назад +6

      Yep, I agree. I cope by telling myself that move never actually happened, rollback just guessed the wrong game state. It’s brought me inner-peace 🧘

  • @salvadormoralesmunoz2894
    @salvadormoralesmunoz2894 7 месяцев назад +1

    I just started an introductory course in computer sciences. I love fighting games and that's why I would like to know a roadmap on how to start programming for rollback netcode. good video and thanks

    • @DualWieldingDad
      @DualWieldingDad  7 месяцев назад +2

      Good luck! I started as a CS major but ended up having more fun in the IT classes and changed majors. Have fun. Best tip I had was READ THE DOCUMENTATION 😂

  • @pratapanurag757
    @pratapanurag757 9 месяцев назад

    Hey! RUclips recommended me this video on my feed and its really good! Kudos to the work that you're doing 😊
    Btw I was wondering if I could help you edit your videos and also make highly engaging shorts out of them. But I'm not really sure if it is the best time?

  • @LansTartare
    @LansTartare 10 месяцев назад +1

    Great video, sub added!

  • @YOUFREAKINNERD
    @YOUFREAKINNERD 10 месяцев назад +3

    Gives rollback explanation, drops a link to a video about how Linux works. Refuses to elaborate. Leaves. 😂

    • @DualWieldingDad
      @DualWieldingDad  10 месяцев назад +2

      Ok maybe I trimmed too much fat 😅

    • @YOUFREAKINNERD
      @YOUFREAKINNERD 10 месяцев назад +1

      @@DualWieldingDad naw i think it’s kind of great I’m glad it got recommended to me 😂. RUclips is all about experimenting, dawg. Keep it up.

  • @mattisandersson9661
    @mattisandersson9661 10 месяцев назад +3

    I'm pretty sure rollback net code is most commonly used in car games

    • @DualWieldingDad
      @DualWieldingDad  10 месяцев назад +1

      Maybe it’s something similar. The wiki listing all the games that use this original method of rollback didn’t mention many racing games.

    • @yeah1234-h9g
      @yeah1234-h9g 10 месяцев назад +1

      It's similar but not quite the same, car games and other games with a larger number of players in a session tend to use a server as the source of truth and as what syncs all sides
      The rollback used in fighting games let the computers of both players do the heavy lifting because a server in the middle keeping track of the whole match with only 2 players would be more costly and increase the lag which is a downside both for the players and the devs/publishers for very little gain(that said, fighting games still do have servers but only for matchmaking and keeping track of ranks and there might be some or even many fighting games that do opt for a server based scheme for a multitude of reasons)

  • @pftmclub
    @pftmclub Месяц назад +1

    the best netcode ever are just moving into South Korea because of the best internet speed compared to the world

    • @DualWieldingDad
      @DualWieldingDad  Месяц назад

      I'd vacation there just to experience their internet infrastructure

  • @lankthedank6931
    @lankthedank6931 5 месяцев назад +1

    Apparently not only fighting games, but racing games? F-Zero 99 uses net code I hear.

    • @DualWieldingDad
      @DualWieldingDad  5 месяцев назад

      Yes other games do use rollback for various reasons. It just started here with fighting games and became the standard.

  • @JoseAntonio-qe5hy
    @JoseAntonio-qe5hy 2 месяца назад

    U feel the lag at 3 rollback

  • @nuke291
    @nuke291 5 месяцев назад +1

    Damn... I'm a little disappointed. I thought it would be something like reduce the game speed to compensate for loss of packages.

    • @DualWieldingDad
      @DualWieldingDad  5 месяцев назад

      You are describing delay based netcode which is less favorable in fighting games since it slows them down and interrupts the flow of the game.

  • @ebonhawken574
    @ebonhawken574 9 месяцев назад +2

    Somebody should show DSP this video.