Awesome. Well done!
Awesome. Well done!
Matthias, Jonax - thanks.
Yes, at any moment any other player will be able to attack you. For protection, you can build defensive structures such as towers and walls. The wall has a lot of HP, absorbs and reflects most of the damage, and can be upgraded as long as there are enough resources.I wonder, as it is MMORTS, what happens if I log off and someone attacks. I will be an easy target in this case, right?
Sorry, in order to prevent desync, the code will not be available. It's a multiplayer game, after all.The source code is not available, right?
I meant that if some player has access to the code, and if he changes the code of his game client, for example, increases the HP of a unit, then his client will work out of sync with other players' game clients. Something like that.
To make the server work as easy as possible, a significant part of the calculations has been transferred to the client side. Yes, something like distributed processing.
I bet many of PGD members would like to peek into your code to see how you managed to do this. And not for intention of cheating your game but instead to get idea of how to tackle something like this in our current or future projects
Bookmarks