playMaker

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

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15537
  • Official Playmaker Support
Re: Photon Integration Beta [NEW beta2]
« Reply #75 on: December 17, 2012, 05: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: 45
Re: Photon Integration Beta [NEW beta2]
« Reply #76 on: December 18, 2012, 11: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: 15537
  • Official Playmaker Support
Re: Photon Integration Beta [NEW beta2]
« Reply #77 on: December 21, 2012, 04: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
Re: Photon Integration Beta [NEW beta2]
« Reply #78 on: December 21, 2012, 02:10:09 PM »
No docs!

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

nickmartin

  • Playmaker Newbie
  • *
  • Posts: 3
Re: Photon Integration Beta [NEW beta2]
« Reply #79 on: December 23, 2012, 07: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: 15537
  • Official Playmaker Support
Re: Photon Integration Beta [NEW beta2]
« Reply #80 on: December 24, 2012, 04: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
Re: Photon Integration Beta [NEW beta2]
« Reply #81 on: January 03, 2013, 09:31:22 AM »
Hey Jean,

Any updates on Playmaker + Photon + Unity4?

Thanks for all your efforts!!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15537
  • Official Playmaker Support
Re: Photon Integration Beta [NEW beta2]
« Reply #82 on: January 03, 2013, 10: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: 15537
  • Official Playmaker Support
Re: Photon Integration Beta [NEW beta3]
« Reply #83 on: January 03, 2013, 12:14:45 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

Dev_Sebas

  • 1.2 Beta
  • Sr. Member
  • *
  • Posts: 398
    • Blog
Re: Photon Integration Beta [NEW beta3]
« Reply #84 on: January 03, 2013, 04: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
Re: Photon Integration Beta [NEW beta3]
« Reply #85 on: January 03, 2013, 08: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
Re: Photon Integration Beta [NEW beta3]
« Reply #86 on: January 08, 2013, 02: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
Re: Photon Integration Beta [NEW beta3]
« Reply #87 on: January 08, 2013, 02: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: 15537
  • Official Playmaker Support
Re: Photon Integration Beta [NEW beta3]
« Reply #88 on: January 08, 2013, 02: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
Re: Photon Integration Beta [NEW beta3]
« Reply #89 on: January 08, 2013, 03:34:53 PM »
Thanks Jean,

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