Tag Archives: unity

How to deploy a game in Overcast

In this third article in the series dedicated to Overcast, the cloud solution for SmartFoxServer 2X, we will focus on the deployment of your games onto a cloud server.

For this purpose we will use one of the existing SFS2X examples, the Tris game (aka Tic-Tac-Toe), which we released for almost all supported platforms. We will refer to the Unity version of the example, but all the concepts relevant to the purpose of this article apply to any version.

If you are new to SmartFoxServer, don’t worry: we will also provide some context and guidance to get started!

Continue reading

SFS2X and Websocket for HTML5 and Unity.

Websocket has become very popular thanks to the ubiquity of HTML5 technologies on desktop, mobile and even consoles. Additionally game engines such as Unity, with its WebGL build, has pushed the boundaries of what can be achieved in web-based games allowing many developers to release their titles for the browser.

In this new article we’re going to review a series of steps to set up Websocket in SmartFoxServer 2X and avoid potential pitfalls, especially when testing locally.

Continue reading

Best of both worlds: SFS2X + server side Unity for realtime games (p2)

In part one of this article series we took a bird’s eye look at various client-server strategies for action multiplayer games. We then highlighted the advantages of running an hybrid solution with SmartFoxServer 2X and Unity on the server side to combine the best of both worlds.

In this second part we’ll be looking at the details of implementing such a solution, the potential difficulties and how to overcome them.

If you have skipped the first article we highly recommend to go back and read it, before you proceed. Continue reading

Best of both worlds: SFS2X + server side Unity for realtime games (p1)

Realtime multiplayer games have been around for over four decades, even though their popularity is a much more recent phenomenon, and they remain one of the trickiest type of games  to develop. Delivering a smooth and responsive action for the players while hiding the latency and limitations of the network is still a major source of coding pain.

Also many games heavily rely on physics to add extra realism and interesting mechanics which in turn adds more complexity to make sure that all players are accurately in synch with each other.

With the emergence of powerful 3D engines such as Unreal and Unity these complex features have been integrated with the visual and rendering systems, hiding the intricacies of physics simulations and networking, and making it more accessible to all developers.

In this article we’re going to take a deep look at the available solutions for multiplayer action games, explore different architectures and examine the multiplayer side of engines such as Unity.

For each method we’ll discuss the pros and cons and finally we’ll propose an integration with SmartFoxServer 2X that we think provides the best of both worlds. Continue reading

Unity Asset Store

We just updated the SmartFoxServer 2X examples package in the Unity Asset Store:
http://u3d.as/content/goto-and-play-/smart-fox-server2x-multiplayer-sdk

All examples have been revamped with the new UI system introduced in Unity 4.6 and are now compatible with Unity 5’s WebGL build (except the FPS example, which requires UDP connection).
A new “Advanced Connector” example was added, showing how to deal with protocol encryption introduced in SmartFoxServer 2X v2.10.
All tutorials available on the website have been updated accordingly to the changes in the examples.