we have our game client in AS3/flash. we are porting client to html5.
we are able to receive class object/other data from the server in html5 client.
we are also able to send data to server but not able to serialize a class.
Does the html5 api implement this feature?
Is there is any example for that?
we are trying this, and getting null pointer exception or class cast exception.
basically we have a class defined in a package say "poker.UserPreference"
it has basic properties like showChat(bool), showHand(bool)
if this feature not supported by html5 api, we will have to change lot of code in server side and flash client as we want
both clients to coexists.
any hint would be great help for us
Regards
Anil
class serialization from client to server
class serialization from client to server
----------------------------
Jai Ho!
Jai Ho!
Re: class serialization from client to server
Only true OOP languages with runtime reflection are supported, sorry.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
Return to “SFS2X HTML5 / JavaScript API”
Who is online
Users browsing this forum: No registered users and 59 guests