Devlog ·
I got hit by a move I never saw (and 3 more things real players caught)
Four things that felt “broken” in online fights, what was really going on, and the lesson in each. No game-dev background needed.
In one line: four things that felt “broken” in online fights, what was really going on, and the lesson in each. No game-dev background needed.
My brother and I played online matches on two laptops, and the first Founding Players sent their own reports. Here are four of them, in plain words, because these are traps any online game can fall into.
1. “I didn’t see a move, but I still got hit”
Astraya uses rollback netcode: your game doesn’t wait for the other player. It guesses what they’re doing, shows you that guess at once, and quietly corrects itself when their real input arrives.
Our fastest attack winds up in 133 milliseconds. Our server was in Singapore, and from India the round trip took 100–140 ms. So an opponent’s whole wind-up could happen inside the time the correction took to arrive. By the time my laptop knew about the swing, the hit had already “happened” in the past. The game fixed the health bar, but skipped the flash, the sound and the reaction.
Two fixes. When a correction reveals a hit you never saw, the game now shows it the moment it learns of it, instead of hiding it; that’s what classic fighting-game rollback does. And the fight server moved to Mumbai: the round trip in India dropped to about 40 ms, short enough that you usually see the wind-up.
Lesson: a fix that keeps the numbers right but hides what happened still feels like a bug. Players trust what they see, not the health bar.
2. “The game threw me out after my Wi-Fi blinked”
When a connection stalls for a few seconds, the browser keeps sending your inputs, and when the link comes back they all arrive at once. Our server read that burst as an attack and kicked the player. It did the same to someone simply mashing every key at once.
Now a blip is absorbed, a burst is accepted, and mashing is treated as what it is: a human. A dropped player gets 20 seconds to come back.
Lesson: never punish a human for being human. Write the anti-cheat rule, then test it against the most chaotic real player you know.
3. “My knight teleports a little”
Every network hiccup made the server’s waiting line for inputs one step longer, and nothing ever shortened it again. Each extra step meant a little more delay and more corrections, which looked like tiny teleports. Now the line stays one step deep.
Lesson: a queue that can only grow will grow. Give every buffer a target size, not just a maximum.
4. “1 fps on a gaming laptop”
A Founding Player with a powerful gaming laptop got about 1 frame per second. On many Windows laptops the browser draws on the small built-in graphics chip instead of the powerful one, and a web page isn’t allowed to switch it. My brother went from 10 fps to over 140 fps with one Windows setting.
The fix: the game can’t flip that switch for you, but it can notice. When it sees you struggling, it now tells you which setting to change. (Windows: Settings > System > Display > Graphics > your browser > High performance.)
Lesson: if you can’t fix something, explain it at the exact moment it matters.
Try it
Play online with a friend: invite them once, then duel whenever you’re both on. If something still feels off, press F8 in the game and tell me. That’s how all four of these were found.
What’s the most annoying online bug you’ve ever hit in a game? Tell me in the comments.
— Saransh
Also posted on itch.io.