Migrating from Photon

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

XyrisKenn
Posts: 3
Joined: 20 Nov 2022, 08:32

Migrating from Photon

Postby XyrisKenn » 20 Nov 2022, 08:42

Hi All, I was intro'd to SmartFox by the Unity community. My project is a social site with dancing animation loops that are embedded in the player character prefabs.

With Photon I didn't need server-side code to make the project work. With SmartFox, is a Java extension required to broadcast player location, walk/run, jump, and choice of dance moves to other players?
In future I'd like to add collaborative options like shared drawing, shared room decorations, art and whiteboards, if these are possible with SmartFox?

Here is my project: https://www.youtube.com/watch?v=JyYSM4XRfHo
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Migrating from Photon

Postby Lapo » 21 Nov 2022, 09:01

Hi,
you don't need server side code to implement what you have described, but it can be done both from client and server side.

You can use UserVariable which are custom values attached to each Player that can be used to describe their position, animation state, avatar ID etc...

If you're new to these concepts I recommend you check our Unity Examples section of the documentation:
http://docs2x.smartfoxserver.com/Exampl ... troduction

Here you can find a number of tutorials to learn the basics and the more advanced features and techniques you can use.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 58 guests