How to Reduce Lag and Understand Ping
When a game feels bad, people usually say it is lagging. But lag can have several causes, and each one has a different fix. This guide explains ping, frame rate and connection quality in plain language and shows how to diagnose your own problem.
Ping, frame rate and lag are not the same
Ping is how long it takes data to travel to another computer and back, measured in milliseconds. Frame rate is how many pictures per second your device draws. Lag is the word people use for the delay they feel, and it can come from either one. A game with perfect ping can still look choppy on a slow device, and a fast device can feel sluggish on a poor connection.
A simple test to find the cause
Play one match against the computer opponent in Quick Play. If it feels smooth, your device is fine and the problem is your network. If it is choppy even against the computer, the problem is your device or browser. This test takes two minutes and saves a lot of guessing.
How ping affects matches on this site
Multiplayer here is peer-to-peer, meaning two browsers connect directly. One browser, the host's, runs the official match. The other player sends their movement and aim to the host and receives updates back. This means the host's own actions are applied immediately, while the other player has a small delay that depends on the connection between the two. The guest's browser predicts its own movement to hide most of it, but shots are still decided by the host. If you want the lowest delay, you can create a private room and host the match yourself.
Fixing network lag
Use a wired connection or sit close to your Wi-Fi router. Pause downloads, video streaming and cloud backups on the same network. Turn off a VPN, because it adds extra distance to every message. On a phone, switch between Wi-Fi and mobile data to see which one is steadier.
Fixing low frame rate
Close other tabs and applications, keep your browser up to date, plug in a laptop and turn off battery saver. Make sure hardware acceleration is enabled in your browser settings. On a phone, close background apps and let it cool down if it feels hot. Our article on how HTML5 games run without lag explains what the game does to keep the frame rate steady.
Frequently asked questions
What is a good ping? Lower is better. Under about 50 milliseconds feels very smooth for most people, and under 100 is usually fine for a game like this.
Why is my game smooth against the computer but laggy online? That points to your network or your opponent's network, not your device.
Does hosting a room help? It lowers the delay for your own actions, because you run the match yourself.
Keep reading
- The Evolution of Casual Browser Games
- Tips for Better Reflexes in Arcade Games
- How Modern HTML5 Games Run Without Lag
- A Beginner's Guide to Top-Down Shooters
- Strategy Guide: How to Win in Every Game Mode
- A Beginner's Guide to Browser Gaming
- How to Improve Aim in Browser Shooter Games
- Browser Gaming on Mobile vs Desktop
- How Multiplayer Browser Games Work
- How to Fix Browser Game Loading Problems
- Common Mistakes New Gamers Make
- Classic Duel Strategy Guide
- Battle Royale Beginner Guide
- Sniper Outpost Guide
- Shotgun Corridor Strategy Guide