Tag Archives: optimization

New JavaScript API v1.7.10 released

We just released v1.7.10 of the SFS2X JavaScript client API.

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.

Enjoy!

Tips for a successful SmartFoxServer deployment

In this new installment we’re going to take a look at a list of tips to improve and optimize a SmartFoxServer 2X deployment.

The list is organized in several categories starting at the higher level of your application and proceeding towards the lower level setting of the server. Completing this process will help make a more secure and efficient deployment of your game server. Continue reading

Top 10 common pitfalls to avoid like the plague

This time we’re going to take a look at the top common errors and pitfalls that can be easily avoided when developing and deploying a multiplayer game with SmartFoxServer 2X. The list is compiled from a selection of topics that are quite popular in our support forums.

Knowing about these common pitfalls can possibly save you a significant amount of time and head scratching. Let’s see what they are.

Continue reading

Fine tuning Room Lists

In this new recipe we will take a look at how to optimize the Room List that SmartFoxServer 2X sends to each client.

Room Lists are very important to show players what is going on in the server and allow them to quickly find games to join. Sometimes, however, they can get too big and result in a waste of bandwidth and information overload for clients.

Continue reading