PDA

View Full Version : Simulate game animation with data from database



Voles
July 25th, 2010, 09:48 AM
Hello everyone,

I'm busy with some kind of 'race-game', but very minimal. It's more like an experiment, so not for publishing.

Now I have a database with some records that contain information about a 'race'. E.g. 10 water, 500 sand, 35 wood and a length of 200.

People who play the game can subscribe to join the race. Everyone has their own skills like 10 swim, 25 condition etc. etc.

Now when the race is being 'raced', there must be some calculations to see who's the first, second, third...

Thereafter people have the possibility to 'watch' the race again as a Flash animation.

Because the calculations happened first in PHP, I must find a way to translate the same to Flash. So that the result in the Flash-simulation are the same as the 'PHP-results'.

Now my question, is there some kind of application / software / script / ... that can help with this kind of stuff? Or is the only possibility to connect via AMFPhp to the database and find some kind of way to animate the results?

I have also been looking for some examples online, but can't find a lot. Maybe there is someone here who can help me?

Thanks very much for reading, I hope you guys can help me with this?

Kind regards,

Voles