100% Incremental Rollback Netcode (December 2026 update)
Rollback netcode is a technique designed to make your multiplayer games feel smooth as a sleigh ride, even when your players are on the opposite poles of the planet. It does this by showing you a predicted future, even before all game inputs have arrived from the faraway lands.
It's as if favorite Uncle Jimmy got stuck in a snowstorm and couldn't make it to Christmas, so everyone gets together and pretends he is there. They act out what he would say and do, singing "Santa Baby" in his deep voice just like Uncle Jimmy would do. At his house, Uncle Jimmy is doing the same thing, unwrapping little Tommy's presents and exclaiming "Wow, Baby Yoda, my favorite, I will love him forever!" just like the real Tommy would. Jimmy's heart fills with joy.
When the whole family finally gets together, they realize that actually little Tommy is deathly afraid of Baby Yoda, so they all silently throw him out the window as if Tommy had done that all along. The family feel as if they had the most wonderful Christmas together, and continue as if they had been together the whole time. No one ever mentions Baby Yoda again.
As Baby Yoda lies there looking up at the sky, he feels the serenity of knowing that, once again, the divergence in the timeline has been unified.
Rollback Netcode
This is rollback netcode, and it is a clever way of hiding lag in multiplayer games. It relies on being able to show an accurate prediction of what the future might hold, and rolling back to correct the prediction if it turns out to be wrong.
While some other multiplayer models use a separate, simpler prediction model to guess the future, rollback netcode makes its prediction using the same code that runs your game. It is the most accurate form of prediction possible, but it's also simpler because you only need to write your code once!
Why does such a brilliant technique go so underutilized?
For rollback netcode to work, every single line of code in your game must be built to roll back. Miss a single line, and it all falls down like a reindeer in a house of cards. It requires you to be intentional, rigorous and methodical. Using someone else's game engine or physics engine? Forget about it. Unless they were designed for rollback, they will not meet the requirements. Gamedevs often avoid rollback netcode even when it is the best choice for their game, simply because we stand on the shoulders of giants, and currently, our giants don't come from rollback world.
There must be an easier way?
What if we took rollback netcode and baked it into a programming language? Now every single thing you write in that programming language can be rolled back, which means it could make your game multiplayer, automatically. You don't need to be methodical, because the language is methodical for you. It's so easy! That's Easel.
In Easel, coding a multiplayer game is as easy as coding a singleplayer game.
Incremental Rollback Netcode
Because Easel is underneath your entire game's codebase, it hears and sees all, like Santa. Every change inside your game is automatically tracked with precision so it can be rolled back later.
- Move an elf off the shelf, Easel knows.
- Steal milk and cookies, Easel knows.
- Put antlers on your dog, Easel knows.
Easel is making a list, checking it twice, and if it missed anything, it rolls back the naughty until it's all nice.
Only the things that changed get rolled back, not the entire game state. This is called incremental rollback netcode. Only Easel does this, and that's why you can make much bigger worlds with Easel than with other rollback netcode engines. With Easel, your game can be as big as your heart.
It wasn't always this way...
We noticed some games were lagging a lot more than they should, causing some people to avoid multiplayer games, when that is the true meaning of Easel! So this month we made some huge improvements so you can be free of worries and make games as freely as a skylark soaring through a snowy sky.
Keep reading to learn about this and everything else new in Easel this month. It's like Christmas has come early!
This post details lots of cool technical advances to Easel's multiplayer, but you don't need to understand any of it to make a multiplayer game with Easel!
Rapid Rollback
This month, we did a lot of work to make rollback netcode run faster than a reindeer on rocket skates!
100% Incremental Rollback Netcode
Previously, Easel's rollback netcode was only partially incremental. If any player in your match was lagging too much, Easel would need to revert back to the old dumb non-incremental way in order to remain within reasonable memory limits. But now, Easel can incrementally roll back any number of frames, no matter how far back in time, no matter how bad the lag.
The breakthrough was realizing there is an algorithm that can flatten a stack of (say) 100 increments into a single super increment that rolls back all 100 frames at once. In doing so, it eliminates the need to store 100 separate increments, which would have used 100x the memory. Not only is the memory usage reduced, but the flattening algorithm is also extremely fast, compacting the stack of increments in a one single sequential scan with no slow random access lookups.
Easel stores increments with exponentially increasing rollback sizes, e.g. 1, 2, 4, 8, 16, 32, 64, and 128 frames (the reality is more complicated, but you get the idea), allowing it to cover a potentially long range of history with only a small number of increments. With only 40 incremental snapshots spaced out like this, Easel could roll us back 2000 years to the Roman Empire, to the night before Christmas.
100% Incremental User Interface Updates
Games are full of dialog boxes, buttons, progress bars, and other user interface elements that are constantly changing. Now that all rollbacks are 100% incremental, Easel always knows exactly which user interface elements have been changed or rolled back, and only updates those without needing to scan the whole user interface tree. This is a huge performance improvement in some cases!
It's like a Christmas tree where we only replace the few Christmas lights that need replacing, rather than throwing the entire string of bulbs away with the bathwater every time a single light goes out.
100% Fewer Memory Leaks (we hope)
There is a saying in software engineering where if you make something 10% faster, you did something smart. But if you make it 10x faster, you did something stupid.
Rollback netcode can sometimes lead to a particular kind of bug, where we keep taking items away, but rollback keeps putting them back, like shoveling snow in the middle of a snowstorm. We found that the Hearing queue could never be drained because it kept getting rolled back, causing the queue to grow infinitely until the game became literally unplayable. This would only happen under bad network conditions, but that is exactly what rollback netcode is for!
Fixing this has had a bigger impact than every other clever optimization we made this month combined.
We now Hear nothing but the hallelujah chorus of CPUs sleeping soundly, no crying they make.
Unfailing the Failure Modes
Rudolph's friends never let poor Rudolph join in any reindeer games. Is it because he kept running into failure modes of the rollback netcode multiplayer game architecture? We fixed them all, just in case!
Preemptive Rescheduling
Sometimes a player suffers from a big lag spike and their input arrives really really late. Like when you send a Christmas gift in November but it arrives in January. In this case, Easel's server reschedules the input as if it was intended to be sent late all along, avoiding a big rollback and keeping the game running smoothly. It's not a late Christmas gift, it's an early birthday present!
Previously, this was done after-the-fact when the late input finally arrived, but now the Easel server pre-emptively reschedules the late input even before it has seen it. This allows all clients to keep a much smaller rollback window, reducing memory usage, and making Easel games even more friendly for low-memory devices such as phones.
Suspended Stopwatches
Synchronized clocks are essential to Easel's multiplayer architecture. But what happens if your clock suddenly changes while you're playing a game?
To avoid this problem, Easel uses your computer's stopwatch, not its clock. Stopwatches only count up, and are immune to daylight savings time adjustments, leap seconds, or other clock corrections.
However, in certain cases, the stopwatch stops ticking. Maybe someone minimized the tab for too long. Or they closed their laptop lid. Doing this for even a few seconds disrupts the delicate millisecond equilibrium that Easel relies on to keep all players in sync. The huge time rift causes everything to stutter while the clients try to find a new equilibrium.
Easel now has specific code to detect this case and resynchronize the clock so no one else needs to be affected by Lillian "laptop lid closer" McLaughlan's actions.
Maximum Rollback Limit
Some players just really really want to play, no matter how bad the network conditions are. Sometimes players are so far away that even rollback netcode cannot save them. With rollback working on overdrive, to them the game just looks incoherent, with players teleporting everywhere and snowballs suddenly popping out of nowhere. It's like the ghost of Christmas past, present and future are playing tug-of-war with your timeline.
Easel now has a default maximum rollback limit of 200ms,
but this can be configured in the [network] section of easel.toml.
This allows players to still play while seeing a world that is coherent enough to be playable,
even if we cannot erase their lag completely.
New Multiplayer Features
This month, we've expanded the range of multiplayer games that can be made with Easel, with these new features!
Invite-Only Multiplayer
Do you want to build a snowman?
Easel makes it easy to play with whoever is online on the internet, but a lot of popular multiplayer games like Minecraft or Stardew Valley let you play only with your invited friends. These tend to be games where you can't trust a random to not knock over your snowman and so you only want to play with people you know.
Easel now has a few new features to help you make this kind of game. See the Parties > How to: Invite-only game page for more details.
Chat Configuration
Making a game like Among Us where dead players should not be able to talk, else they might reveal secret information? Or making a game like League of Legends where players should only be able to talk to their teammates? You can now control who can chat with who, and when! See Multiplayer > Chat to learn more.
Hark! The herald Discord bot sings!
How do you grow your game? Go to where your players already are. Lots of people are already on Discord, the real-time chat platform for gamers. Easel now has built-in support to push notifications to Discord whenever players are online in your game.
Data Handoff: From One Screen to the Next
Sometimes the player must step through a number of screens before getting to the actual game. Perhaps they need to choose their character, select a level, decide who to play with, and so on. Easel has some new features that makes it easier to hand off data from one screen to the next.
-
The new PlayerConfig feature allows you to pass arbitrary per-player data into a game. Unlike passing parameters to
Main, this doesn't affect matchmaking, and unlike preferences,PlayerConfigis transient. See Entrypoints > Games > Using PlayerConfig to learn more. -
Page can now take any Sendable value as their parameters, not just Strings. Numbers, Booleans, Symbols, Arrays and Maps are all supported. See Entrypoints > Pages > Page Parameters to learn more.
When you pass in parameters into a page, the data is passed in via the URL, which means the URL can be bookmarked or shared with friends. To achieve this, we have created a new structured serialization format called Prim that is human-readable, compact and most importantly, URL-safe.
Other changes
A lot more has changed this month, both new features and bug fixes!
Multiplayer:
- Reduced the default input latency to 50ms (was 60ms). This has been made possible because rollback netcode is now much more efficient so we can afford to use it more often.
- Sometimes due to a rollback, we suddenly discover we were meant to have started playing a sound effect already,
but we didn't know about it until now.
The new
slipparameter lets you decide what to do in this situation. By default, Easel will play the sound effect up to25mslate, which is a good compromise between synchronizing it with the visuals while avoiding cutting off the start of the sound effect. - Easel now features an improved algorithm for matching sounds across rollbacks, reducing audio artifacts when the sounds are corrected.
- Added StartPartyIntent and LeavePartyIntent functions, which you can use to automatically start a party whenever players enter your game so that they always play with only their invited friends.
- Added an InvitationLinkDisplay function to display a party invitation link in the UI. This lets you put the invitation link on your "Waiting for Players" screen, so your players can invite their friends to join them before the game starts.
UI:
- On UI elements, the
strokeparameter can now be a Color. Want to make green text with a red outline? Now you can! - Added a
textShadowparameter to various UI elements like P. Previously, the text shadow was integrated withstroke, but now you can separately change its color or turn it off without affecting the stroke. - You can now turn on/off the
strokeandtextShadowparameters globally in the[ui]section of easel.toml. - Fixed an issue where hovering over a button would restart its animation. We only want the button to fly in one time, not every time the mouse hovers over it!
Audio:
- Added
playbackRateandpitchShiftparameters to Music. Getting to the end of the boss fight? Speed up the music to make it more intense!
Editor:
- You can now change the URL of your game while the project is open, and your
easel.tomlfile will be automatically updated with the new URL. This is now the recommended way of moving your game to a new URL. - If you accidentally use
value.xon a Vector, Easel will helpfully suggest tryingvalue.Xinstead. This was a very common mistake that beginners would make. - Removed the 16 MB project size limit. Now the only limit is your account storage quota. Make bigger, more sophisticated games!
- For Vim mode users, fixed an issue where certain motions would stop working after switching from a longer file to a shorter file.
Functions:
- The MaxBy and MinBy functions
now also return the
keyof the chosen element, andselectedvalue produced by the selector.
Thanks for Being Here!
Thanks for your continued support of Easel!
- If you haven't already, check out Possessed Keys, a game made this month with Easel where you need to escape a haunted house by finding the keys and avoiding the listeners. It uses tilemaps, the feature released only just last month!
