Here's one of my problems though, I'm not using flash - at all, though the way things are coded look fairly similar to C#. I plan on making the client(coding) through c#, and not knowing where to look is bringing me down. I have been messing with code from the player.io client example, trying to add too it but honestly I'm getting no where.
I noticed that in the flash tutorial
- Code: Select all
PlayerIO.connect(
stage, //Room id. If set to null a random roomid is used
gameID, //The game type started on the server
"public", //Should the room be hidden from the lobby?
"GuestUser", //Room data.
"", //User join data
>>handleConnect<<, //Function executed on successful joining of the room
handleError //Function executed if we got a join error
);
function handleConnect(client:Client){
that the variable "handleConnect" was placed in, then managed inside a function that would perform if true. I can't even get this to work in the c# example - I've spent 2 hours trying to figure out how to get "Callback (playerioclient.connection)" to work . I have also researched how delegates work and ways of using them, since that's what the callback was.
I have tried searching examples, articles, and even just bits and pieces for c# player.io client or server, but no luck. I am more than willing to work hard to learn how to use player.io c#. Honestly I have no idea where to start or look. If you know where I can find a good resource on c# clients/servers or both, I'd greatly appreciate it.
Sorry if my post broke any rules, or is in the wrong area.