My Experience with Cocos2d-x + Smartfox C++ on Android&iOS

Post here your questions about the C++ API for SFS2X

Moderators: Lapo, Bax, MBagnati

chamroeun
Posts: 10
Joined: 18 Feb 2016, 17:15

My Experience with Cocos2d-x + Smartfox C++ on Android&iOS

Postby chamroeun » 10 Apr 2016, 13:32

Finally I got my iOS App Approved and my Android app successfully deployed. :D

I use:
-Cocos2d-x 2.2.6
-Latest version of Smartfox C++ client
-Boost 1.55
-NDK r10d
-XCode 6

It's painstaking hard. MAYBE BECAUSE I AM NOT C++ EXPERT.

A lot of thing here and there to fix to get it working ranging from compiling Boost to work on both iOS/Android and correct version of C++ to get it compiled with ton of warning. With so many paths to explore and failed.

I have to change some Smartfox C++ client code to get it working. :oops:
The C++ sample(FullHouse) on Smartfox Download section used old version of C++ client which doesn't support Unicode and that cause me a lot of headache because my App need Unicode.

Thanks;
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: My Experience with Cocos2d-x + Smartfox C++ on Android&i

Postby Lapo » 11 Apr 2016, 07:35

Thanks for your feedback.
Can you give us more details as to what you needed to change in the API?

cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
chamroeun
Posts: 10
Joined: 18 Feb 2016, 17:15

Re: My Experience with Cocos2d-x + Smartfox C++ on Android&i

Postby chamroeun » 11 Apr 2016, 08:05

Sorry I don't remember exactly. I think a few data type changes in a few place and comment out a few line of codes due to C++ standard different between Smartfox C++ client and the one I use. And only for iOS version, for Android, I don't need to update any code.

As you know, many variety of C++ compilers are there and some of them are not happy to live together.


Lapo wrote:Thanks for your feedback.
Can you give us more details as to what you needed to change in the API?

cheers

Return to “SFS2X C++ API”

Who is online

Users browsing this forum: No registered users and 20 guests