playMaker

Author Topic: asynchronous Photon Actions?  (Read 2947 times)

jasperPT

  • Full Member
  • ***
  • Posts: 109
  • I am a VFX Animator teaching myself to make games
    • View Profile
asynchronous Photon Actions?
« on: January 25, 2016, 01: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?

jasperPT

  • Full Member
  • ***
  • Posts: 109
  • I am a VFX Animator teaching myself to make games
    • View Profile
Re: asynchronous Photon Actions?
« Reply #1 on: January 25, 2016, 11:39:11 PM »
Or is it the Broadcast RPC events actions that I need to be using?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14593
  • Official Playmaker Support
    • View Profile
Re: asynchronous Photon Actions?
« Reply #2 on: January 26, 2016, 01:53:54 AM »
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

jasperPT

  • Full Member
  • ***
  • Posts: 109
  • I am a VFX Animator teaching myself to make games
    • View Profile
Re: asynchronous Photon Actions?
« Reply #3 on: January 26, 2016, 04:08:08 AM »
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.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14593
  • Official Playmaker Support
    • View Profile
Re: asynchronous Photon Actions?
« Reply #4 on: January 26, 2016, 05:17:20 AM »
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

jasperPT

  • Full Member
  • ***
  • Posts: 109
  • I am a VFX Animator teaching myself to make games
    • View Profile
Re: asynchronous Photon Actions?
« Reply #5 on: January 26, 2016, 06:14:10 AM »
Great I will pick it up and have a go.

Thanks for that.

jasperPT

  • Full Member
  • ***
  • Posts: 109
  • I am a VFX Animator teaching myself to make games
    • View Profile
Re: asynchronous Photon Actions?
« Reply #6 on: January 28, 2016, 03:57:55 PM »
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
« Last Edit: January 28, 2016, 11:06:15 PM by jasperPT »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14593
  • Official Playmaker Support
    • View Profile
Re: asynchronous Photon Actions?
« Reply #7 on: January 28, 2016, 10:42:46 PM »
Hi,

 ok, I'll give it a go.

Please bump me early next week if I haven't replied.

 Bye,

 Jean

jasperPT

  • Full Member
  • ***
  • Posts: 109
  • I am a VFX Animator teaching myself to make games
    • View Profile
Re: asynchronous Photon Actions?
« Reply #8 on: February 04, 2016, 02:45:13 AM »
Hey Jeanfabre

Just bumping to see if you had a chance to look at this yet?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14593
  • Official Playmaker Support
    • View Profile
Re: asynchronous Photon Actions?
« Reply #9 on: February 04, 2016, 10:43:04 PM »
Hi,

 Running behind, sorry... will try this week.


Bye,

 Jean

jasperPT

  • Full Member
  • ***
  • Posts: 109
  • I am a VFX Animator teaching myself to make games
    • View Profile
Re: asynchronous Photon Actions?
« Reply #10 on: February 10, 2016, 04:34:00 AM »
Any luck this week?

: )


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14593
  • Official Playmaker Support
    • View Profile
Re: asynchronous Photon Actions?
« Reply #11 on: February 14, 2016, 11:50:48 PM »
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

jasperPT

  • Full Member
  • ***
  • Posts: 109
  • I am a VFX Animator teaching myself to make games
    • View Profile
Re: asynchronous Photon Actions?
« Reply #12 on: February 24, 2016, 07:49:22 AM »
Hi Jeanfabre

Just a friendly bump to see if you had a chance to check this out yet?