RTS
Posted: Thu Oct 11, 2018 3:36 pm
Hi all,
As i said i am working on RTS, it is a kind of Lord of Ultima from EA if some of you remember this; and it has been remake by Crown of the Gods.
Today i am wondering, if it is a good idea to use PHP with Mysql to make the back end.
I found with PHP/Mysql that it was possible to use cron table and events in Mysql DB to update the data of the players,
for example i can raise the amount of ressources when the players are not online, and i can create some combats events even if the players are also not online.
My concern is about the speed of the database, what happens if there are 100 players at the same time, this will still work ? or will i have a deny system ?
I know that there is node.j with socket.io can be used with mongodb, i started a little to see how that works, but it is a lot of work (again) to understand all this.
What do you think about ?
Thx
Dabouh
As i said i am working on RTS, it is a kind of Lord of Ultima from EA if some of you remember this; and it has been remake by Crown of the Gods.
Today i am wondering, if it is a good idea to use PHP with Mysql to make the back end.
I found with PHP/Mysql that it was possible to use cron table and events in Mysql DB to update the data of the players,
for example i can raise the amount of ressources when the players are not online, and i can create some combats events even if the players are also not online.
My concern is about the speed of the database, what happens if there are 100 players at the same time, this will still work ? or will i have a deny system ?
I know that there is node.j with socket.io can be used with mongodb, i started a little to see how that works, but it is a lot of work (again) to understand all this.
What do you think about ?
Thx
Dabouh