4/15/2023 0 Comments Super hexagon all levelsI will keep this DevLog updated as a way of motivating myself, documenting my progress, and getting feedback.Graphics in Super Hexagon are very impressive. SSVOpenHexagon.exe -headless Īnd get some sort of output like this: Replay completed. Ideally, I should be able to invoke Open Hexagon from the command line like this. My first milestone will be to implement a flag in the game in order to run it in headless mode, accepting a replay file as input, running it, and printing out information about the replayed playthrough. Happy to hear your thoughts on any of the points above. Use Steamworks API? Probably easier, but completely ties the game to the Steam platform.Custom login system backed up by custom database? Would be a lot of work.How to attach player identity to a leaderboard?.How to detect it? Periodically re-run replays? Or do not detect it at all? Otherwise, existing replays will fail to work.If it’s just a “refactoring” change that doesn’t affect the behavior of the level, the leaderboard should remain valid.What happens if a custom level author updates a level?.Must avoid frequent calls to the server caused by browsing through menu entries.Need to improve menu rendering to show leaderboards.Need to visually notify the client that (1) replay was received and (2) is being processed.What about malicious replays? Someone could create a basic custom level without obstacles, run for 10 hours, then send a 10 hour replay that will stop the server from processing legit replays. What happens on version mismatch between client and server?.Need Open Hexagon server to listen for replay files, and run them to verify validity.What happens if a client spams the server with replays? How to prevent DDOS attacks?.What happens if the replay fails to be sent? When to retry?.Need Open Hexagon client to produce and send replay clients to the server.I have no prior experience in this, but libsodium’s Key Exchange and Steamworks Authentication should help.Need to somehow encrypt/decrypt replay files to avoid tampering.The code for the game logic is intertwined with some rendering code. Need headless version of Open Hexagon which only runs game logic without rendering.I started working on this game almost a decade ago, and the codebase is not in a great state, despite my continuous efforts to improve it and clean it up.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |