The Weird Fix to the Game's Worst Lag Issue : Noia Online : Indie dev MMO devlog

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 ต.ค. 2024
  • After months of searching I finally found what was causing all the rubberbanding in the Noia web client.
    Play Noia Online at:
    splosions-stud...
    Join the Noia Discord server!
    / discord

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

  • @ydz_666
    @ydz_666 3 หลายเดือนก่อน +21

    I am a dev and I say why it was lagging. Vsync is basicly making maximun fps of the game to the maximum fps of your computer screen. Basicly Ig thats unity's problem, but when you enable vsync on web, some browsers cant find the amount of fps you have on the monitor. A solution for this could be adding a variable for vsync, and setting it to false if it is a web client.

    • @Bananenbauer123
      @Bananenbauer123 3 หลายเดือนก่อน +3

      That's actually a good point, disable specifically for web client, or whenever the browser fails to get a valid reading.

  • @halflove1664
    @halflove1664 3 หลายเดือนก่อน +5

    I appreciate you walking through how you went about troubleshooting the rubberbanding issue, it was cool to see how you compared the network graph to using keyboard input

  • @mahdpup
    @mahdpup 3 หลายเดือนก่อน +2

    Just found your stuff recently, and am absolutely loving the vibe Noia has! Definitely going to give it a try with some friends, and I look forward to seeing where it goes! Also new to game dev myself, so seeing these weird bugs and option interactions is both useful and fascinating!

  • @Matdrox
    @Matdrox 3 หลายเดือนก่อน +2

    That PixelTitan guy sure did a good job!

  • @EphemeralRhythm
    @EphemeralRhythm 3 หลายเดือนก่อน +7

    Just dropping a comment to boost the algorithm, don't mind me.

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

    Hahah I remember lag being sucha big issue in older games when I got into pc gaming, probably the biggest reason why I didn't really like online games at first, but playing with other people in mmo games is so much more fun though ^^

  • @jason.-_-.games8
    @jason.-_-.games8 3 หลายเดือนก่อน +3

    I will buy it when it appears on steam

  • @galarawr
    @galarawr 3 หลายเดือนก่อน +3

    dude fixed what Ark couldn't for YEARS. it might even still be that way I quit forever ago

  • @Zizaco
    @Zizaco 3 หลายเดือนก่อน +2

    You are very brave! Making web builds with Unity is really difficult. Great video

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

      When I was hosting the web client myself it was a giant nightmare to get IIS to play nice.
      Then I found itch.io and they are all setup to host web apps with nearly no work.
      They do require a web SSL if your app connects to a server, which is good on them.

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

    It makes sense now how holding down the arrow keys made rubber-banding worse

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

      If you understand it, that's good. I don't understand why vsync caused it.

  • @jonatansan01
    @jonatansan01 3 หลายเดือนก่อน +2

    Haven't check the video yet, but my guess is that you commented out the "transform.positon = transform.position + Random.insideUnitCircle * lagDistance" line, right??

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

      If (lag) lag = false;

  • @alitomix
    @alitomix 3 หลายเดือนก่อน +2

    What if you make the big trees of the deep forest entirely visible to have glorious forest vibes and just add opacity 90% when a player is below one

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

      I have an actual canopy layer there, it is set to cast shadows only, so you don't see it. When You can see it....it looks really bad XD

  • @Bub.tv21
    @Bub.tv21 3 หลายเดือนก่อน +1

    Is the player outline based on Arrm1988 Zelda-like? I see references to it a lot here.

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

      No it was originally a Zelda lookalike asset pack from Opengameart.org. I see it passed around and used in a lot of RPG startups. It is even included in some Unity asset packs.
      Mau/MrFox/Netherfang all helped to update it to what we have today.
      I am not sure this is the original or not
      opengameart.org/content/zelda-like-tilesets-and-sprites

    • @Bub.tv21
      @Bub.tv21 3 หลายเดือนก่อน +1

      @@noiadev That's it!!! That's what I was refering too.

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

    So if the game can be on the web it is TCP? Wouldn't you rather use UDP and skip web? Just curious as I was thinking of working on a web only mmo but my research told me it had to be TCP.

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

      I do use TCP. I had tried to use UDP at first, but random packets would get skipped over. it made everything quite unreliable. I don't have the option to mix and match. Otherwise I would make position/movement UDP and skills/login TCP.

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

      @@noiadev I looked into this Mirror networking. I see it has what they call "transports". So are you writing a bunch of separate code for the web and using websockets for that but not for anything else but the web?

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

      @@jackmiddleton2080 You are giving me too much credit XD. I just use the Mirror websockets transport for web and Telepathy transport for all the other client types. it just works. The Mirror devs wrote all of that stuff.

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

      @@noiadev Cool. I thought it would be a nightmare to have two systems.

  • @johnjohn-sl7oo
    @johnjohn-sl7oo 3 หลายเดือนก่อน +1

    Thx for dealing with the lag

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

    I tried downloading ur game in my mobile but google play protect is showing something like this "THE GAME IS MADE FOR OLDER VERSION OF ANDROID AND DOESN'T HAVE LATEST PRIVACY POLICY"

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

      I'll look into it

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

    good video buddy

  • @maddys2741
    @maddys2741 3 หลายเดือนก่อน +2

    Smooth sailing is always good ⛵ ☁️ no one likes lag

  • @leamalex-h7l
    @leamalex-h7l 3 หลายเดือนก่อน +1

    thx

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

    It is... em... wierd. Can't say anything more.