Making a game with user positions controlled by database?


im very new flex , thought id ask peoples thoughts on im trying do, whether right way or not.

 

i want make game users placed on grid, , them being able move around grid in real time. example usera @ row 5, column 10. userb @ row 1 column 12 etc..

 

the way ive been looking @ doing set database user info in it, move things around changing values in database same way done in many of tutorials(php, java or whatever).

 

my concern may slow.

 

1. right way doing this?

 

2. how many users can expect able on grid @ once , still reasonably real time? 10? 100? 10000?

 

i realise sound nooby question answers or discussion helps me understand.

yes, that's going slow. each user has poll database server every 100ms changes in database. +10 users, ddos databaseserver.

 

a faster way push changes. moment makes move, server pushes move clients, i.e. let connected know of move/update.



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support