Skip to content

Commit f61d7fa

Browse files
authored
Backend rework (#34)
* start redoing examples in sdl3 * bit further. planing to create a 4 player pong example * good for now. * ex game * Sliders ex game * Consistency with gekko_create * redo disconnection logic. only fully drop when the remote is genuinely quiet. * progress. have to make a new func to fetch received remote inputs to the frontend tho. cuz now its stalling. * cleanup old-back to front bridge. * dont forget to jump by input size. * back to front api * CULPRIT FOUND * this should take care of the mem leak. * allow input bufffers to store multiple incorrectly marked frames and also clear them when solved * ok the main cause seem to be a missed case in the input prediction logic. added this case now. the case was that when i had already predicted the input before i was trying to predict beyond my limit rather then using the input that was already generated. * cleanup * fixed incorrect received input parsing * should be spectators covered. * spectators send inputs in parralel nor series * ball respawn and bounce based on paddle section * update game * remove asserts in critical code otherwise they will get optimized out and cause desyncs * cleanup * preety much finish the example. there no win conditions or scores tho. * Limited saving is not needed when lockstep mode is active * remove hud from emaple game * cleanup * Spectator example added. * Create init.txt * Add files via upload * Add files via upload * Update project descriptions and logo attribution
1 parent 70eafbc commit f61d7fa

40 files changed

Lines changed: 1760 additions & 1757 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,3 +367,4 @@ FodyWeavers.xsd
367367

368368
#cmake build files
369369
/GekkoLib/build
370+
/Examples/OnlineSession/vcpkg_installed/

Directory.Build.props

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)