PDA

View Full Version : chat with avatars


remka
10-25-2002, 10:51 PM
I'd like to build a multi-user game system, or if you prefer a chat with avatars (like you could see on The skyscraper (http://skyscraper.paregos.com/) for example, see "lovemates"). I could easily tell a movieclip to go where i have clicked. :)
But for multi-user, i think i would have to duplicate this clip, and to load an external file (PHP for example) on each click, in which the position and infos of each movieclip is stored.
And for now, i am not able to do this... The duplicate_mc is mysterious for me. :confused:
if sombody have time, or had worked on this kind of projects....

pom
10-26-2002, 05:18 PM
No offence, mate, but if you have trouble with duplicateMovieClip, there's no way you can do a chat... Really no that easy. Your best bet is to buy the new Friends of ed book PHP for Flash advanced (http://www.friendsofed.com).

pom, un autre parisien... :cool:

remka
10-27-2002, 11:51 AM
Thanks Pom,
I'll check this book.
A developper friend of mine told me that using pHP (or any scripting language) for this kind of thing would be really heavy for the processor. He advised me to get "Communication Server Mx" to manage multiuser transfer datas, or another macromedia server.
But this is really expensive!
What do you think about this?

pom
10-27-2002, 07:04 PM
Communication Server would of course be very effective, but it has a few problems:
Damn expensive
You have to learn how to use it. But that's probably because I know a bit of PHP already...
You have to find a host that will support the technology (there are many free hosts that support php, especially in France, the best being free.fr).

I say PHP all the way :D

pom :cool:

remka
10-28-2002, 01:28 AM
I made a little PHP, for a blog (with flash interface) and also a little mysql, and i think that finding a host is not a problem (you're right, free is okay, but there are a lot of functions which are desactivated).
But i was thinking that if there is many access to the base in the same time, the server wouldn't be able to manage it. So i can't reload the vars in real-time, i must reload them on each click.

The Banja team made a really good work, with a flash interface and ASP, but i'm not sure they don't use something else.
http://www.banja.com/home1/index.htm
And also, they are "sponsored" by macromedia, so...

I also found java and XML based servers, like Unity by Kevin Mook
http://www.moock.org/unity/
This seems great, but a bit complex to use if you don't know anything about java programming

Maybe it could be a good alternative...
What do you think?

pom
10-29-2002, 08:20 AM
Je suis vraiment pas sûr de moi. Par contre, tu peux aller demander sur www.flashxpress.net/forum il y a pas mal de caïds dans tous les domaines, je pense que tu pourras trouver ta réponse, et en plus en français...

pom :cool:

Et c'est Colin Moock... :D

farafiro
10-29-2002, 09:46 AM
sorry, maybe I'm a bit late but do u mean something like this
http://www.macromedia.com/desdev/mx/flash/articles/extending_components.html

remka
10-29-2002, 12:45 PM
Merci:)
Thanx. I'll check this...

pom
10-30-2002, 09:38 AM
Great link! :) MM's site is really amazing...

But I don't think that it is what remka was looking for.

farafiro
10-30-2002, 09:56 AM
but I think it may help, also I do remember that this question has been asked before, so with a little search he/she may get an answer