Skip to content

Latest commit

 

History

67 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UDPGameNetworking Library

A lightweight C++ UDP networking solution designed specifically for game development, featuring reliable messaging and interpolation without engine dependencies.

Features

  • Generic data streaming over UDP (Define custom data types, with custom serialization and deserialization methods, and let the library do the rest)
  • Networked value lerping (Easily toggle in Library settings, customizable delay, smooth networked objects even with rocky connections)
  • Important message confirmation (Custom user messages can use message acknowledgement, even over UDP)
  • Engine agnostic design (Designed to be wrapped for use with any game engine, see Status)
  • Simple demo to showcase engine functionality (Fully functional example showing core capabilities)

Demo

  • Two clients running simultaneously on one system
  • Each client controls a square with real time position streaming and a coloured cube
  • Controls:
    • 'WASD' Move your square
    • 'Mouse Hover' Select which client window to control
    • 'R', 'G', 'B' Select your squares colour

Installation

  • Download latest relase .lib and .dll files
  • Link as required
  • For Demo, download DemoApp.exe, as well as dll and lib files for UDPGameNetworking, and SDL3 and SDL3_net files
  • Include all in one folder
  • Run DemoApp.exe

Status

  • Working:
  • Demo fully functional
  • Core networking is stable
  • Limitations:
  • Localhost tested only (not yet LAN)
  • No NAT traversal implementation or planned

Planned Improvements

  • Cleanup and optimization
  • Wrapper implementations for Godot and Unity
  • Additional documentation

About

A Library for game networking over UDP written in SDL. Intended to provide both client and server functionality.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages