In this article we’re going to discuss an alternative way to implement custom serialization for classes that are needed from both client and server side to implement our game logic.
If you’re not entirely familiar with the topic of class serialization in SFS2X we recommend reading this article from our documentation Continue reading
Starting from this new version, we completely reviewed the build process of the API.
This fixes some compatibility issues of the internal third-party libraries with module bundlers (like webpack) and also brings:
- reduced API file size (-41%)
- a source map to help debug the API, should unexpected issues show up in the future
- the official SFS2X API package for the npm package builder
- Node.js compatibility
As always, the new package is available on the download page of our website (other than in the npm repository, from now on).
In order to showcase the usage of the API with npm and webpack, we also released a variant Connector example describing the project setup and build process, including the new source mapping option.
Learn how to configure the client and make your first connection
- Simple Chat
Learn how to create a basic chat environment for connected users
- Advanced Chat
Learn how to create a complete browser-based chat application featuring public chat messaging, Rooms management, private chat messaging and more
- Game Lobby
Learn how to create a “lobby” application where users can meet and invite each other to play games
All tutorials are available in our documentation website.
A new SFS2X update is available with new powerful features and fixes discussed in the support forums recently:
- Improved scalability and thread management via Auto-scaling Thread Pools. No more need to fine tune threads by hand
- BlueBox v3.0: revamped and improved edition running on the latest Jetty 9
- Integrated file uploads
- Added support for websockets over SSL (WSS)
- AdminTool: Extension Manager module, allows to manage, upload and deploy Extensions directly from the Admin GUI
- AdminTool: administrators can now be given access to a selection of modules and server halt/restart permissions
… lots more …
You can read the full release notes and download the installer from here.
Also check the latest HTML5 client API supporting the WSS protocol and the porting of the SpaceWar game to Unity (available in the Unity examples package).
A new update is available for SmartFoxServer 2X. It provides several fixes related to the latest issues discussed in the forums and includes new improvements. The cumulative patch can be applied to version 2.0.1 and higher. Please read the full release notes and download the update from our download section.
On the client side we have also released:
- New HTML5/Websocket API release (final release)
- New ActionScript 3 API
- New Windows RT / Windows Phone 8 API (beta)
We also introduced a new server side feature called SystemController Filters, that allows custom logic to be added on top of the System requests.
Last but not least, we published a new Unity example + tutorial created by Andy Martin, showing the Buddy List features of SmartFoxServer 2X.