C++ API beta version published

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

Moderators: Lapo, Bax, MBagnati

User avatar
Bax
Site Admin
Posts: 4385
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

C++ API beta version published

Postby Bax » 13 Mar 2013, 16:55

We just published the first beta version of the C++ API!
You can download the API package here: http://www.smartfoxserver.com/download/sfs2x#p=updates
We also published a couple of example applications, available here: http://www.smartfoxserver.com/download/sfs2x#p=examples
The API are provided as source code files. The compilation instructions can be found here: http://docs2x.smartfoxserver.com/Gettin ... pi-setup-2

The current version of the API still misses some features that will be added later:
- UDP support
- BlueBox support
- API documentation (temporarily refer to C# API documentation)

Please report any bug you may find.
Paolo Bax
The SmartFoxServer Team
Zanpher
Posts: 96
Joined: 05 Oct 2009, 23:15

Re: C++ API beta version published

Postby Zanpher » 13 Mar 2013, 19:10

That .. is awesome! Thank you, I need to take a gander, compile it, and interface it with another language :)

--- subscribing to this topic.
sinnaste
Posts: 1
Joined: 27 Feb 2013, 16:52

Re: C++ API beta version published

Postby sinnaste » 14 Mar 2013, 05:09

thank you for your effort of development api. :D
Can i also use cocos2d-x?
anniyan137
Posts: 25
Joined: 20 Nov 2012, 10:49

Re: C++ API beta version published

Postby anniyan137 » 14 Mar 2013, 07:02

WOW!! Does this mean cocos2d-x is now an option for Smartfox? :) :)
User avatar
Bax
Site Admin
Posts: 4385
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: C++ API beta version published

Postby Bax » 14 Mar 2013, 07:51

anniyan137 wrote:WOW!! Does this mean cocos2d-x is now an option for Smartfox? :) :)

We still haven't tested the API with cocos2d directly, but the C++ API have been developed mainly for that purpose.
We would appreciate to receive a feedback on this subject. Thank you.
Paolo Bax
The SmartFoxServer Team
User avatar
Bax
Site Admin
Posts: 4385
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: C++ API beta version published

Postby Bax » 21 Mar 2013, 10:39

We just published an updated API package, available on this page: http://www.smartfoxserver.com/download/sfs2x#p=updates
Now the API can be compiled under Linux/Unix systems too.
Detailed compilation instructions are available here: http://docs2x.smartfoxserver.com/Gettin ... pi-setup-3
Paolo Bax
The SmartFoxServer Team
tichfuie
Posts: 26
Joined: 28 Aug 2012, 21:53

Re: C++ API beta version published

Postby tichfuie » 05 Apr 2013, 07:01

I wonder if this could be used with Torque3d open source client?
if so has any one tested it yet?


or is it for any specific C++ 3d client game engine like the c# unity version one?
User avatar
Bax
Site Admin
Posts: 4385
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: C++ API beta version published

Postby Bax » 05 Apr 2013, 07:21

The great thing about the C++ API is that it's portable to almost any platform, Torque3D included I suppose (even if I don't have direct experience with it).
Given the innumerable amount of IDEs and platform combinations that are possible with C++, we won't be able to cover them all with examples or specific compilation instructions. You will have to know the basics of your favorite platform and how to import the compiled libraries.
Please keep us updated on your progresses in case you give it a try. Thank you.
Paolo Bax
The SmartFoxServer Team
User avatar
Bax
Site Admin
Posts: 4385
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: C++ API beta version published

Postby Bax » 05 Apr 2013, 15:48

Please check this post: viewtopic.php?f=34&t=15891
Paolo Bax
The SmartFoxServer Team

Return to “SFS2X C++ API”

Who is online

Users browsing this forum: No registered users and 1 guest