playMaker

Author Topic: Photon Integration Beta [NEW beta3]  (Read 49932 times)

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14684
  • Official Playmaker Support
    • View Profile
Re: Photon Integration Beta [NEW beta2]
« Reply #75 on: December 17, 2012, 03:11:33 PM »
hi,

 I thought draw call where linked to rendering, I will investigate this with Photon team.

bye,

 Jean

devotid

  • Playmaker Newbie
  • *
  • Posts: 39
    • View Profile
Re: Photon Integration Beta [NEW beta2]
« Reply #76 on: December 18, 2012, 09:35:51 AM »
Thanks Jean...:)

i did some more testing late last night with the same results.

i am using the same track and the same car....... I am only "snyching" the rotation and the position of the "not mine cars". 

the draw calls will triple?....... i am learning the profiler as fast as possible but i cant seem to figure out why this is happening or were the extra 4000 draw calls are coming from.

I am not against sending you the project to look into. (i would like to know what you think about my "playmaker coding".)

Thanks again Jean

Kevin

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14684
  • Official Playmaker Support
    • View Profile
Re: Photon Integration Beta [NEW beta2]
« Reply #77 on: December 21, 2012, 02:15:06 AM »
HI,

 yes, pm me with a link to the project, I'll have a look,

bye,

 Jean

whendricso

  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
Re: Photon Integration Beta [NEW beta2]
« Reply #78 on: December 21, 2012, 12:10:09 PM »
No docs!

Hey, can we get some beta docs for the Photon actions?

nickmartin

  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
Re: Photon Integration Beta [NEW beta2]
« Reply #79 on: December 23, 2012, 05:09:25 AM »
Hey everyone,

I just found this thread lately and have been trying to catch up.

I just did the following:

1) New Unity project (Unity4)
3) Imported PlayMaker 1.4.5
2) Download and imported the Photon Unity Networking asset package from asset server
3) Downloaded and imported the PlayMakerPhotonDemo_beta2 from this thread.
4) Setup my Photon Cloud app id
4) Ran the PlayMakerDemoWorker scene

It connects nicely but the chat system seems to be broken? I cannot chat between characters logged into the demo. Or actually:

I can chat from standalone windows exe builds to Unity4, but if I try to chat back to .exe clients from Unity4, then their chat GUI disappears (except the "send to" and the player name buttons). Same thing happens if I try to chat between windows .exe builds. Their chat GUI is just gone and no messages.

Don't know if I'm doing something wrong, or if it's a Unity 4 problem? I get no errors or warnings.

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14684
  • Official Playmaker Support
    • View Profile
Re: Photon Integration Beta [NEW beta2]
« Reply #80 on: December 24, 2012, 02:21:46 AM »
Hi,

 uhm, ok, I will run some tests on Unity4 to see if anything broke ( which very well could be actually)


bye,

 Jean

nickmartin

  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
Re: Photon Integration Beta [NEW beta2]
« Reply #81 on: January 03, 2013, 07:31:22 AM »
Hey Jean,

Any updates on Playmaker + Photon + Unity4?

Thanks for all your efforts!!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14684
  • Official Playmaker Support
    • View Profile
Re: Photon Integration Beta [NEW beta2]
« Reply #82 on: January 03, 2013, 08:25:48 AM »
Hi,

 Fixed today actually, verified with U3.5 U4 and current/beta verison of PlayMaker, so it's rock solid. I am waiting now for internal review.

bye,

 Jean

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14684
  • Official Playmaker Support
    • View Profile
Re: Photon Integration Beta [NEW beta3]
« Reply #83 on: January 03, 2013, 10:14:45 AM »
Hi,

The latest iteration of Photon integration is now available ( first post of this thread). It's a major step as Photon guys have work closely with us to provide a tight integration of PlayMaker for the Photon setup of the project, scenes, gameObjects and Fsms.

You can consult the help here:
https://hutonggames.fogbugz.com/default.asp?W982

As always, back up any on going project. If you do have an existing project you want to test this beta on, you will need to delete the folder  "PlayMaker/Photon Networking" first to avoid duplicated scripts which would cause lot of errors. sorry for the inconvenience, but it was needed so that it's easier for user to manage Photon in their various projects.

Bye,

 Jean

Dev_Sebas

  • 1.2 Beta
  • Sr. Member
  • *
  • Posts: 398
    • View Profile
    • Blog
Re: Photon Integration Beta [NEW beta3]
« Reply #84 on: January 03, 2013, 02:54:08 PM »
Hi,

The latest iteration of Photon integration is now available ( first post of this thread). It's a major step as Photon guys have work closely with us to provide a tight integration of PlayMaker for the Photon setup of the project, scenes, gameObjects and Fsms.

You can consult the help here:
https://hutonggames.fogbugz.com/default.asp?W982

As always, back up any on going project. If you do have an existing project you want to test this beta on, you will need to delete the folder  "PlayMaker/Photon Networking" first to avoid duplicated scripts which would cause lot of errors. sorry for the inconvenience, but it was needed so that it's easier for user to manage Photon in their various projects.

Bye,

 Jean
Sweet! :)
Bye

nickmartin

  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
Re: Photon Integration Beta [NEW beta3]
« Reply #85 on: January 03, 2013, 06:44:28 PM »
Just gave it a quick test and everything seems to work :)

Soooooo nice!!!! THANKS!

Playmaker is the best asset I've ever bought :)

markfrancombe

  • Sr. Member
  • ****
  • Posts: 338
    • View Profile
Re: Photon Integration Beta [NEW beta3]
« Reply #86 on: January 08, 2013, 12:27:13 PM »
I just tested the new DEMO.. outstanding!!

I now, of course, have to scrap my changes and start anew with this , but I foresee no problems.
BUT I HAVE ONE QUESTION:
I think I asked this before, but... didnt get an answer..

You have kindly also included the Demo with separate scenes:
demo_lobby
demo_room

Im drawn to this approach as it kind of keeps all (ok...most ) of the networky stuff separate and safe from all your other game logic and shit...
But.. it of course makes testing a bit of a pain as you must do a build and then run the lobby scene to test. I am routinely hitting play once a minute as I go in a tweak an animation, or colour chip, whatever...
So..
>>>HERES THE QUESTION...
What is the REAL reason for separating them into 2 like this? What OTHER advantages are there?

regards

Mark



markfrancombe

  • Sr. Member
  • ****
  • Posts: 338
    • View Profile
Re: Photon Integration Beta [NEW beta3]
« Reply #87 on: January 08, 2013, 12:43:49 PM »
Whoops, one more question about this.
Assuming we use this demo as a basis for networking in our game, what stuff can I remove from this Asset folder to ensure everything works.
DemoWorker folder contains the player you are using, but if assigning a new play char, spose this whole folder can go?
MarcoPolo-Tutorial: Assuming we dont need anything in here?
Is that it really, should I leave the rest as it is?

Mark

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14684
  • Official Playmaker Support
    • View Profile
Re: Photon Integration Beta [NEW beta3]
« Reply #88 on: January 08, 2013, 12:53:44 PM »
Hi,

 All Demo folders can go, both from the Photon Networking folder and PlayMaker Photon bridge folder as well.

bye,

 Jean

markfrancombe

  • Sr. Member
  • ****
  • Posts: 338
    • View Profile
Re: Photon Integration Beta [NEW beta3]
« Reply #89 on: January 08, 2013, 01:34:53 PM »
Thanks Jean,

but what about my other.. more pressing question?
Reply #86
 ;)
M