Hello Everyone:
just another newbie question,
I am trying to create a realtime game. I hope to have the game speed or user actions processed by the game quick enough so it is possible for players to beat the game.
BGA server can often be very busy ,
I thought it would be fastest to do much processing on the client side and limit server side processing to moving through states and database access.
I have most of the necessary database game information stored in arrays in javascript
I am realizing that many javascripts array methods are very slow. for example findIndex
How would you maximize the game speed and minimize the amount of time spent on each user action .
thanks for any suggestions!
just another newbie question,
I am trying to create a realtime game. I hope to have the game speed or user actions processed by the game quick enough so it is possible for players to beat the game.
BGA server can often be very busy ,
I thought it would be fastest to do much processing on the client side and limit server side processing to moving through states and database access.
I have most of the necessary database game information stored in arrays in javascript
I am realizing that many javascripts array methods are very slow. for example findIndex
How would you maximize the game speed and minimize the amount of time spent on each user action .
thanks for any suggestions!