News for hackers. Stuff that matters.
Re:Show HN: Multiplayer game engine with 120fps and 2 second... by parasti on Saturday October 07, 2023 @05:39AM (#37800345)
This is very cool, but doesn't actually load in two seconds. I would have been really impressed if that part was legitimately true.
Re:Show HN: Multiplayer game engine with 120fps and 2 second... by meheleventyone on Saturday October 07, 2023 @05:51AM (#37800399)
Thanks! Load times obviously vary depending on your connection, hardware and so on. I expect two seconds is true for bobbydigitales. We’ll continue to optimise loading though so it’s great for everyone.
Re:Show HN: Multiplayer game engine with 120fps and 2 second... by maccard on Saturday October 07, 2023 @10:16AM (#37801885)
I'm on a z flip 3 android device with 500mbps WiFi, and seeing closer to 20 seconds than 2 seconds on all the links shared here.
Re:Show HN: Multiplayer game engine with 120fps and 2 second... by meheleventyone on Saturday October 07, 2023 @10:55AM (#37802215)
Thanks for letting us know.
Re:Show HN: Multiplayer game engine with 120fps and 2 second... by bobbydigitales on Saturday October 07, 2023 @01:06PM (#37803423)
Thanks for testing! Could you try this game: https://dotbigbang.com/game/cab2b545338144d68fb8934801a1cd97...

And could you let me know which browser you're using?

Re:Show HN: Multiplayer game engine with 120fps and 2 second... by maccard on Sunday October 08, 2023 @12:12PM (#37811729)
Using Firefox for android.

That link is about 6 seconds for me. Its still quick, but a good chunk off 2 seconds

Re:Show HN: Multiplayer game engine with 120fps and 2 second... by bobbydigitales on Sunday October 08, 2023 @04:38PM (#37814211)
Thanks for testing and going the info! Firefox is about 40% slower than Chromium-based browsers and Safari for us, we focus on the default browser on each platform so Firefox isn't tested often. Firefox also accounts for about 0.4% of our traffic and their performance analysis tools aren't very deep, so unfortunately it's hard to justify allocating time to improve there.

We also can't load in 2 seconds on any device we can run on. There are obviously some devices that ship Chrome on Android that can load the game, but are incredibly slow. So yes, not always 2 seconds!

Finally, we still have a huge amount of known performance we can gain in our loading, so I do hope I can come back in the future and show that 2 second loading on a lot more devices!

Re:Show HN: Multiplayer game engine with 120fps and 2 second... by maccard on Monday October 09, 2023 @06:56AM (#37819034)
FWIW, I see the same speeds on chrome on the same device .

> We also can't load in 2 seconds on any device we can run on.

Of course, but a 2 year old flagship device I would expect to be closer to your advertised number!

For what it's worth, the 6 second load you shared is about as long as it takes Facebook, linkedin or Airbnb to load. Your numbers are impressive enough that I don't think you need to fluff them. My work UE5 project only gets to a splash screen in 6 seconds on my workstation.

Re:Show HN: Multiplayer game engine with 120fps and 2 second... by bobbydigitales on Monday October 09, 2023 @12:32PM (#37822118)
Thanks for testing! I do see around a 2 second load time on my current device (s23) see the video here: https://youtube.com/shorts/OQ8x92hPfkA?si=6ugW-JGSgIVWtqkv

I'll check out the SoC for your phone and see if we have specific problems there, and what we need to optimize, thanks!

Re:Show HN: Multiplayer game engine with 120fps and 2 second... by bobbydigitales on Saturday October 07, 2023 @12:29PM (#37803100)
Thanks for trying it out! I see a 2 second load time on Chrome on my macbook air on WiFi, what device and browser are you using?
Re:Show HN: Multiplayer game engine with 120fps and 2 second... by nextaccountic on Saturday October 07, 2023 @08:33PM (#37806809)
Is this after deleting the browser cache?
Re:Show HN: Multiplayer game engine with 120fps and 2 second... by bobbydigitales on Saturday October 07, 2023 @10:33PM (#37807389)
You should be able to see that loading performance on a "cold load" yes, but it's difficult to account for all network conditions. It's also possible for the multiplayer connection to take a little longer. I think if we messaged that more clearly then it would explain what's happening. We also considered just putting you in the game before you got the multiplayer connection, but that might be a bit jarring when it added all the players and entities in. We should maybe still think about it!

There's also a lot more room for loading optimization, I think we can maybe go 2-5x faster than what we have currently!

Re:Show HN: Multiplayer game engine with 120fps and 2 second... by parasti on Sunday October 08, 2023 @02:55PM (#37813340)
Firefox Android on a Samsung S7. Varying loading times is obviously completely normal. I was just hoping to see an optimization deep dive based on the title here.
Re:Show HN: Multiplayer game engine with 120fps and 2 second... by bobbydigitales on Sunday October 08, 2023 @04:39PM (#37814218)
Ah interesting! It's great to know what the expectations are! I'll think about doing that in a future post once we've done some more optimization!