Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: jasperPT on January 25, 2016, 03:37:44 AM
-
Hi
Has anyone made Photon asynchronous networking actions?
There seems to be good coverage on Synchronous set up for Playmaker with Photon but not Asynchronous?
I would have thought Asynchronous was the easier of the two to do?
-
Or is it the Broadcast RPC events actions that I need to be using?
-
Hi,
can you explain what you mean by "asnchronous"?
usually, you want to synchronize PlayMaker variables synchronously, so that the value is the same on all machines.
sending RPC events will only provide a communication system for granular data, I don't recomand using RPC events to continously send information, for this, prefer synchronizing variables.
So, if you could explain your use case, I'll be able to point you in the right direction hopefully.
Bye,
Jean
-
Hi Jeanfabre
thanks for the reply, what I meant is turn based.
I am making a game where I don't want two users to have to be online at the same time, rather one person makes a play, then the other responds ect.
-
Hi,
thanks for the clarification.
Indeed, I have the turnBased system from ExitGames in the starting block, ready for when PlayMaker 1.8 goes out of beta. You can get an early package if you are confortable with this, it's early and so not everything is clean, it all works but need that final pass to put everything properly.
https://github.com/jeanfabre/PlayMaker--ExitGames--PhotonTurnBased_U4.3.4
Bye,
Jean
-
Great I will pick it up and have a go.
Thanks for that.
-
Hi Jeanfabre
I have tried to set this up but there seems to be an issue.
What I am doing is the following:
Create a new project
Import playmaker 1.8
Import PlayMakerPhotonTurnBased.unitypackage
It seems to import ok but playmaker is not picking up the new actions.
When I click the action browser in playmaker none of the new actions are appearing there.
Edit:
Also I am getting this error even if ecosystems is installed:
Assets/PlayMaker Photon TurnBased/Scripts/PlayMakerPhotonLoadBalancingEventTable.cs(9,29): error CS0234: The type or namespace name `Ecosystem' does not exist in the namespace `HutongGames.PlayMaker'. Are you missing an assembly reference?
Then
-
Hi,
ok, I'll give it a go.
Please bump me early next week if I haven't replied.
Bye,
Jean
-
Hey Jeanfabre
Just bumping to see if you had a chance to look at this yet?
-
Hi,
Running behind, sorry... will try this week.
Bye,
Jean
-
Any luck this week?
: )
-
Hi,
sorry, I won't be able to look at this any time soon, It's on my todos tho, so please keep bumping! :) Thanks for your understanding.
Bye,
Jean
-
Hi Jeanfabre
Just a friendly bump to see if you had a chance to check this out yet?