Backdash 0.4.1-beta.1
dotnet add package Backdash --version 0.4.1-beta.1
NuGet\Install-Package Backdash -Version 0.4.1-beta.1
<PackageReference Include="Backdash" Version="0.4.1-beta.1" />
paket add Backdash --version 0.4.1-beta.1
#r "nuget: Backdash, 0.4.1-beta.1"
// Install Backdash as a Cake Addin #addin nuget:?package=Backdash&version=0.4.1-beta.1&prerelease // Install Backdash as a Cake Tool #tool nuget:?package=Backdash&version=0.4.1-beta.1&prerelease
Backdash đšī¸
Highly configurable and extensible implementation of Rollback Netcode with full asynchronous IO.
Heavily inspired by GGPO.
Overview
Traditional techniques account for network transmission time by adding delay to a players input, resulting in a sluggish, laggy game-feel. Rollback networking uses input prediction and speculative execution to send player inputs to the game immediately, providing the illusion of a zero-latency network. Using rollback, the same timings, reactions, visual and audio queues, and muscle memory your players build up playing offline will translate directly online. Backdash is designed to make incorporating rollback networking (aka. Rollback Netcode) into new and existing games as easy as possible.
Getting started
NuGet package available:
$ dotnet add package Backdash
[!TIP] đĄ Please check the DOCUMENTATION for usage details.
Demos:
Title | Link |
---|---|
Terminal | |
Monogame Local | |
Monogame Lobby | |
Godot Lobby | |
Save/Load Replay |
Samples
Check the samples on the /samples directory:
There are examples for up to 4 players:
- Simple console game
- Monogame SpaceWar [^2]
- Monogame SpaceWar with lobby over internet [^1][^2]
- Godot SpaceWar with lobby over internet
[^1]: The sample needs a web server to
exchange players addresses. check the sample README.md
for more information.
[^2]: If you are using ARM MacOS you may need the x64 version of .NET SDK to build some samples.
Building from source
You need to have installed .NET 8 SDK
- Clone this repository.
- Restore tools
- On root directory run:
dotnet tool restore
- On root directory run:
- Building Library (root directory)
- SDK only:
dotnet nuke build --configuration Release
- Alternatively open the solution file
Backdash.sln
on your IDE.
- Alternatively open the solution file
- SDK and samples
dotnet nuke build-samples --configuration Release
.- Alternatively open the solution file
Samples/Backdash.Samples.sln
on your IDE.
- Alternatively open the solution file
- SDK only:
Licensing
Backdash is available under The MIT License. This means Backdash is free for commercial and non-commercial use.
Attribution is not required, but appreciated.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- Backdash.Analyzers (>= 0.4.1-beta.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.4.1-beta.1 | 55 | 11/29/2024 |
0.4.0-beta.1 | 46 | 11/22/2024 |
0.3.1-beta.5 | 122 | 11/21/2024 |
0.3.1-beta.4 | 46 | 11/18/2024 |
0.3.1-beta.3 | 87 | 6/1/2024 |
0.3.1-beta.2 | 67 | 5/28/2024 |
0.3.1-beta.1 | 60 | 5/27/2024 |
0.3.0-beta.2 | 74 | 5/24/2024 |
0.3.0-beta.1 | 69 | 5/23/2024 |
0.2.0-beta.291 | 67 | 5/22/2024 |
0.2.0-beta.186 | 66 | 5/21/2024 |
0.2.0-beta.84 | 69 | 5/8/2024 |
0.2.0-beta.57 | 85 | 3/25/2024 |
0.2.0-beta.44 | 63 | 3/19/2024 |
0.1.1-beta.36 | 74 | 3/15/2024 |
0.1.1-beta.27 | 67 | 3/12/2024 |
0.1.1-beta.23 | 59 | 3/7/2024 |
0.1.0-beta.40 | 65 | 3/7/2024 |
0.1.0-beta.19 | 69 | 3/7/2024 |