• Examples (iOS)
• Examples (Java/Android)
• Examples (C++)
Server API Documentation


» Welcome

Welcome to the SmartFoxServer 2X online documentation.
Please choose a topic in the left menu to get started.

Apr 18th, 2023

Updated Unity examples pack and tutorials.

What's new?

  • New Shooter example and tutorial, substituting the outdated First Person Shooter example.
  • All examples now feature an Editor window providing setup instructions; all tutorials now reference those instructions.
  • All examples have been upgraded to SFS2X C# API v1.8.0.

Sep 22nd, 2022

Updated Unity examples pack and tutorials.

What's new?

  • The new Connector example merges the previous Connector and Advanced Connector examples, showing how to perform the connection and login process including optional HTTP tunneling and/or protocol encryption activation.
  • Three Lobby examples substitute and largely improve the previous Lobby and Buddy Messenger examples, showing how to create a progressively more complex lobby scene, featuring game launch, Buddy List management and interaction, match-making, invitations, public and private chat, etc.
  • The Tic-Tac-Toe example (previously called Tris) implements a fully-featured lobby, game spectators and invitations.
  • The MMO Basics example merges and updates the previous Object Movement and MMORoom Demo examples, now featuring a new 3D environment and the implementation of map limits and Area of Interest visualization.
  • SpaceWar 2 is a new version of the old example; other than updating the overall game flow, new features have been added: it is now possible to play with a planet attracting starships and weapon shots, starships have a shield and they can be destroyed, starships can fire a secondary weapon, the game has a defined objective and a proper ending.
  • All examples featuring multiple scenes have been updated to make use of a singleton class acting as a connection manager, representing the best practice when sharing the connection to SmartFoxServer among all the project scenes is needed.
  • All examples feature a new UI.
  • All examples have been upgraded to SFS2X C# API v1.7.17.

Feb 1st, 2022

Updated XCode setup documentation for Objective-C and Swift projects.

Sept 9th, 2021

Added Java Runtime Compatibility document, for those interested in replacing the default SFS2X runtime

Jun 14th, 2021

Full documentation review: all client code snippets are now available in C#, JavaScript and ActionScript 3.

Apr 21st, 2021

Updated C# API setup documentation and introduction to Unity examples.