Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

if you'd like I'm happy to share the source code with you. the way I do it is a bit scuffed and it's ultimately very buggy, but it works. I just had to make sure that when the replay fails, it fails in a safe way.

That would be cool and very much appreciated.

Snippets of the section with the replays is perfectly fine too if sharing the source code is too troublesome. Having a general idea of how it’s implemented is enough for me.

(+1)

https://github.com/v4rii/BeginnersJam25


TL:DR is that every action the player takes (i.e. every time the player hits "confirm"), data about that action is packed into a tuple and added to a list. 

During "playback mode", whenever the player is lacking commands, they check the next item in the pastActions list and perform that.

That should've worked, and it did 90% of the time, but it ended up desyncing a lot so i then slapped on a ton of bandaid fixes LOL

Nice. Thank you for the link and the tldr. I especially like how simple the playback solution seems to be, at least in writing. I’ll probably need to practice them outside of game jams though haha.