• 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.

Jul 26th, 2024

Video Tutorials section updated, now featuring the newly added Godot Engine playlist on our YouTube channel.


Apr 15th, 2024

Added new SFS2X core settings doc page to the Advanced Topics section, with info on several low-level configuration options for the server.


Jan 9th, 2024

Shooter example and tutorial added to the Godot Examples section.


Jul 4th, 2023

We have launched a new tutorial series for the Godot Engine 4.x using our C# Client API.
The example pack contains five examples of increasing complexity with source code and detailed tutorials:


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.