Premium Only Content
No Game Engine Game Dev: Word Sleuth 042: Loading a replay file
Streamed on 2024-09-03 (https://www.twitch.tv/thediscouragerofhesitancy)
Game Engines are for sissies!
With Replay files being saved out, it is now time to load them in. There is more game status to keep track of, especially in the MainMenu and the Game itself. Replay now has three modes (Off, Record, Playback) and will fail if a method is called in the wrong mode. MainMenu checks to see if there is a "latest replay" file. If there is, it shows a replay button and clicking that button will start the game with that replay file.
Replay is set with the correct mode on Game start. If in Playback mode, it loads the replay file and completely logs out what is in it so we can see what is in the file without looking at hex. Also, there are various validations performed on the Replay to make spoofing results more difficult. It isn't cryptographically secure, but it should require some non-trivial effort.
-
2:06:49
vivafrei
22 hours agoEp. 289: Arctic Frost, Boasberg Impeachment, SNAP Funding, Trump - China, Tylenol Sued & MORE!
261K195 -
2:56:28
IsaiahLCarter
17 hours ago $9.00 earnedThe Tri-State Commission, Election Weekend Edition || APOSTATE RADIO 033 (Guest: Adam B. Coleman)
45.7K6 -
15:03
Demons Row
12 hours ago $12.46 earnedThings Real 1%ers Never Do! 💀🏍️
57K22 -
35:27
megimu32
15 hours agoMEGI + PEPPY LIVE FROM DREAMHACK!
181K15 -
1:03:23
Tactical Advisor
19 hours agoNew Gun Unboxing | Vault Room Live Stream 044
266K40 -
19:12
Robbi On The Record
20 hours ago $23.21 earnedThe Loneliness Epidemic: AN INVESTIGATION
87.8K109 -
14:45
Mrgunsngear
1 day ago $148.96 earnedFletcher Rifle Works Texas Flood 30 Caliber 3D Printed Titanium Suppressor Test & Review
149K35 -
17:17
Lady Decade
1 day ago $12.51 earnedMortal Kombat Legacy Kollection is Causing Outrage
98.3K24 -
35:51
Athlete & Artist Show
1 day ago $14.16 earnedIs Ryan Smith The Best Owner In The NHL?
106K17 -
22:56
American Thought Leaders
2 days agoCharles Murray: I Thought Religion Was Irrelevant to Me. I Was Wrong.
84.3K64