D
Dengar
Guest
not sure where this goes so here we are.
I'm working on an online game that's using a python server to sync player locations.
now I want to add an online database to hold player data like what they look like.
my concern is how to handle it.
when the client detects a new player, they check the database to figure out what sprite to draw for them, and this sounds fine in theory.
but my problem is how to handle when the player first logs in. would I send multiple http requests to the database, one for each player -OR- would I group them together and send a single http request and just let the php pull all the data and send it back in a group.
id appreciate any feedback on how to handle this. thanks
I'm working on an online game that's using a python server to sync player locations.
now I want to add an online database to hold player data like what they look like.
my concern is how to handle it.
when the client detects a new player, they check the database to figure out what sprite to draw for them, and this sounds fine in theory.
but my problem is how to handle when the player first logs in. would I send multiple http requests to the database, one for each player -OR- would I group them together and send a single http request and just let the php pull all the data and send it back in a group.
id appreciate any feedback on how to handle this. thanks