Search found 3 matches

by Aymeric
23 Feb 2017, 18:55
Forum: SFS2X Questions
Topic: Unity Fighting Game with 2 players
Replies: 4
Views: 7073

Re: Unity Fighting Game with 2 players

Hi, Concerning the previous code: SmartFoxConnection.sendingPeriod = 0.1f; So it's just 10 ten time by second, it should be good enough, right? I used the NetworkTransformInterpolation script http://pastebin.com/raFyYzi9 from the FPS demo. Unfortunately, it isn't smooth enough : I've some jerk and t...
by Aymeric
20 Feb 2017, 15:26
Forum: SFS2X Questions
Topic: Unity Fighting Game with 2 players
Replies: 4
Views: 7073

Re: Unity Fighting Game with 2 players

Thanks for the detailed answer Lapo. So I moved to UDP for transform update, and reduce packets frequency that way (in my Update loop); if (masterTimeLastSending >= SmartFoxConnection.sendingPeriod) { SmartFoxGame.Instance.SendLocalPlayerPhysicsPosition(); localPlayer.transform.hasChanged = false; m...
by Aymeric
17 Feb 2017, 14:50
Forum: SFS2X Questions
Topic: Unity Fighting Game with 2 players
Replies: 4
Views: 7073

Unity Fighting Game with 2 players

Hi there, So I read a lot of documentation and go through the tutorials. I'm working on a fighting 2D game (like Street Fighter) with 2 players only made with Unity. Unfortunately I didn't find enough informations about this, the topics on the forum were very brief. I'm using SmartFoxServer for Room...

Go to advanced search