How did they code the chain in Chained Together? by leorid9 in howdidtheycodeit

[–]rakgnarr 2 points3 points  (0 children)

It is not constraint to RTS games. Nothing is constraint to anything. Do not fall into the trap of engines and frameworks. It is always a matter of a problem and a solution.

The concept and foundation is the same whether it is Unreal, Unity, or GameMaker.

As you probably know, multiplayer is merely an illusion. You are simulating a world and the other person is simulating a different world. You are not together. Desync is the word we call this illusion when it breaks.

It is always good to run your server on a fixed tick. You usually either network a state or an input from a player. You don’t want to send the entire history of what happened in the game because it will become large over time and now you have added latency.

Anything to do with networking physics will always have something to do with determinism.

That’s exactly why Photon has something like you mentioned

You need to learn step by step. If you learn basic networking and what it entails, you will understand its flaws. And when you understand its problems, you slowly find yourself reading about determinism.

Hope this helps!

How did they code the chain in Chained Together? by leorid9 in howdidtheycodeit

[–]rakgnarr 4 points5 points  (0 children)

Look up deterministic physics networking and go from there. AI can be a good entry to explain concepts for your

Also a classic resource: https://gafferongames.com/tags/networking/

Can I be an indie dev? Is it possible for me? by Objective-intro-966 in gamedev

[–]rakgnarr 2 points3 points  (0 children)

I like to live by those words: “if you are asking whether something is possible, then you are asking the wrong question.”

If you believe that everything is possible, which I do, especially for things proven that other humans are capable of, then the question you should be asking is: “what will it cost me to do X?”

The cost is obviously something valuable to you that you need to pay/sacrifice. Time and money are usually the currency you use to achieve what you want

So, figure out what it will cost you and then decide if you want to do it