Topic: [Idea/Possibility?] Is "Emulating" teeworlds possible?
Hey guys! I wanted to share some thoughts with you so I can hear the opinion of other people who may have knowledge on the subject. Take note that all of this is coming from someone who has no idea how the game works internally.
As a player who plays mainly race, I always wondered what would be the fastest way to finish a map if we could play perfectly. So I started to think if "emulating" teeworlds was possible. What I mean by that is: is there a way to make a program that runs teeworlds and allows us to record input while making it possible to use savestates and slowdown the game? This would be used to produce very amazing runs of race maps.
Of course I know that it is not that simple. There are two problems I found, and I tried to find a solution for each of them.
The game has a variable FPS. Solution: make the game run at a constant FPS (maybe something like 60FPS because 30FPS would not be smooth enough)
Teeworlds can have ping variation and lag, which may result in the same input not making the same run every time. Solution: An emulator is not supposed to run on servers. So there should not be any lag or ping variation.
There might be other issues, but as I said, I don't know how the game works internally.
Considering all of that, I want to know if it would be possible to make such an emulator for teeworlds. If so, then how hard would it be to code that program? I think it would be something very fun to play with.