Backdash 0.2.0-beta.57

This is a prerelease version of Backdash.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Backdash --version 0.2.0-beta.57
NuGet\Install-Package Backdash -Version 0.2.0-beta.57
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Backdash" Version="0.2.0-beta.57" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Backdash --version 0.2.0-beta.57
#r "nuget: Backdash, 0.2.0-beta.57"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Backdash as a Cake Addin
#addin nuget:?package=Backdash&version=0.2.0-beta.57&prerelease

// Install Backdash as a Cake Tool
#tool nuget:?package=Backdash&version=0.2.0-beta.57&prerelease

CI Nuget

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image https://editorconfig.org/

Backdash 🕹ī¸

alternate text is missing from this package README image

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
Console Console
Monogame Local Monogame Local
Monogame Online Monogame Online

Samples

Check the samples on the /samples directory:

There are examples for up to 4 players:

[^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 alternate text is missing from this package README image

  1. Clone this repo.
  2. Building
    • With samples run dotnet build -c Release Backdash.sln on the root directory.
    • SDK only run dotnet build -c Release src/Backdash on the root directory.
    • Alternatively open the solution file Backdash.sln on your IDE.

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

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.2.0-beta.84 49 5/8/2024
0.2.0-beta.57 62 3/25/2024
0.2.0-beta.44 49 3/19/2024
0.1.1-beta.36 55 3/15/2024
0.1.1-beta.27 45 3/12/2024
0.1.1-beta.23 44 3/7/2024
0.1.0-beta.40 44 3/7/2024
0.1.0-beta.19 48 3/7/2024