Playmaker Forum

PlayMaker Help & Tips => PlayMaker Tutorials => Topic started by: cloud03 on August 29, 2016, 04:00:04 AM

Title: Photon Networking with PlayMaker Tutorial
Post by: cloud03 on August 29, 2016, 04:00:04 AM
Hi Guys, I've just uploaded a new tutorial series on how to create a basic Multiplayer system using Photon and PlayMaker, hope you guys like it, feedbacks are really appreciated!

Part 01 | Basic Concept

Part 2 | Basic Player Movement

Part 3 | Player Network Syncing

Part 4 | Shooting Over Network

Part 5 | Bullet Damage & Health

Part 6 | Scoring System

Part 7 | Mecanim Sync Over Network
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: cloud03 on August 29, 2016, 04:00:17 AM
reserved...
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: 600 on August 29, 2016, 06:01:31 AM
This is great! Good luck with the series!
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: cloud03 on August 30, 2016, 08:36:26 PM
@600: Thanks a lot mate!
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: cloud03 on August 31, 2016, 08:48:46 PM
Update: added the 3rd episode, please check it out!
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: cloud03 on September 03, 2016, 08:46:40 PM
Update: added the 4th episode, cheers!
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: cloud03 on September 08, 2016, 08:32:24 PM
Update: added the 5th episode, cheers!
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: eagleeyez on September 11, 2016, 05:29:12 AM
I absolutely love your Playmaker tutorials. Thank you very much and please, when is the next one coming as I need to know how to give the player who shot another player the points for hitting that player.

What also would be great is making a friends list, login, where you can enter player name and add to your list. I already have such from the asset store but with playmaker it would be better.

Thank you, thank you and keep up the very good work. You are making it easy for us to understand playmaker and photon.
All the best
Chris.
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: cloud03 on September 11, 2016, 11:17:11 PM
@eagleeyez: Thanks a lot mate! Yes I'm intending to do scoring for the next episode, hopefully I'll be able to record and upload it this week, please stay tune.

as for making friend list, I'll have to research about it first, cause I'm also just started trying Photon, so I'm still learning bits by bits of it.

Thanks again, all the best
Romi
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: eagleeyez on September 16, 2016, 05:53:46 PM
I'll be looking forward to further videos. Thanks
btw. Unity throws an error when getting the Vector3 learp advanced from the Eco.
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: cloud03 on September 16, 2016, 09:08:17 PM
could you post the screenshot of the error? cause it's working fine on my end, I'm also download it from ecosystem, using playmaker 1.8.3 and Unity 5.3.4p8 here..
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: eagleeyez on September 17, 2016, 04:04:38 AM
I have the actual version of Unity 5 personal and Playmaker
this is the error I get

Assets/PlayMaker Custom Actions/__internal/PlayMakerActionsUtils.cs(1,3): error CS8025: Parsing error

Using the eco to delete the action does not remove the error, I must remove the
PlayMakerActionsUtils..cs file

Strange ?
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: cloud03 on September 17, 2016, 06:48:42 AM
I've got the solution from the comment one of my youtube channels from John McCallister:

For whatever reason...  PlayMakerActionsUtils.cs was updated with

404: Not Found

I replaced it with:
 
using UnityEngine;

public class PlayMakerActionsUtils
{
    public enum EveryFrameUpdateSelector { OnUpdate, OnLateUpdate, OnFixedUpdate };

}

could you try replace this?
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: cloud03 on September 18, 2016, 11:47:51 AM
Update: added the 6th episode on how to do scoring system, cheers!
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: Jin on September 18, 2016, 06:39:24 PM
Very helpful tutorials!

Thanks very much!

-Jinn
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: cloud03 on September 18, 2016, 08:08:55 PM
@Jin: You're welcome! happy to hear that, I wish you all the best with your project!
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: eagleeyez on September 19, 2016, 06:17:23 AM
Thanks, that did the trick just adding in that missing code.
And thanks for the new video. I will watch it now.
I do hope you are going to continue this series, that would be awsome.

Title: Re: Photon Networking with PlayMaker Tutorial
Post by: cloud03 on September 19, 2016, 11:20:36 AM
@eagleeyez: You're welcome! I'm planning to continue the series, so just stay tune :)
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: eagleeyez on September 25, 2016, 08:59:57 AM
Hi, could you please give us a unity package up until this point with the score board. I keep on breaking mine and it would be better for me to see a working score board, then I can work out for myself where I am going wrong.
thanks in advance
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: eagleeyez on September 27, 2016, 08:50:23 AM
No panels in webplayer

I need help please.
The panels are not showing in the webplayer, they are working in the play mode.
The text inpput and buttons are however working in the webplayer.

It would be nice to have a working project from you, so that I can see if it works on my side.

thanks

Title: Re: Photon Networking with PlayMaker Tutorial
Post by: eagleeyez on September 30, 2016, 04:54:02 AM
I got the panels working. I Installed Unity 5.4.1f1 and they worked then.

For anyone having troubles with Playmaker PUN and Photon Unity Networking with conflicting plugins, then this is how you should install and set it up.

1.   In a fresh Project install the latest Playmaker
2.   From the asset store install Photon for Unity free
3.   Install the Playmaker ECO System
4.   Search for PUN in the Eco system and install the Unity 5 version
5.   That’s it, no conflicts anymore.
6.   You will also need for this project the following from the Eco system. Convert String To Vector3, Convert Vector3 to String and Vector3 Lerp Advanced
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: EScarborough75 on September 30, 2016, 05:58:24 PM
Insane job. Each part involves a lot of knowledge!
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: cloud03 on October 03, 2016, 06:30:45 AM
Hi eagleeyez, I'm really sorry I didn't get back to you sooner, I'm pretty swamped with freelancing at the moment, but glad you got it sorted out...

I'll upload the project here once I got back to my home, but I haven't tried it exporting to webplayer, so my samples might have issues also just like you, but I might work also depending the case..

What I've done actually are:
1. I'm using unity 5.3.5p8
2. I've downloaded the Photon from the playmaker wiki, not the one from the asset store
3. I've used the uguiproxywithfullactions.unitypackage, from playmaker wiki..

I think thats it...sorry again I didn't replay sooner, and thanks for clearing up here for the others to read :)
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: eagleeyez on October 10, 2016, 02:34:04 AM
Hi there,
any chance of doing a small tutorial with syncing mecanim animations?
That would be great
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: cloud03 on October 12, 2016, 11:33:22 PM
@eagleeyez: Yes, I'm planning to do that, its already on my next to do list, still trying to figure some kinks...
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: cloud03 on October 13, 2016, 11:00:59 PM
update: just added new episode, 7th, cheers!
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: eagleeyez on October 14, 2016, 02:40:00 PM
Thanks for the new video, it was really great and helped me a lot.
Do you have Third Person Controller from Opsive?

If so, do you know how to intergrate this better as I got it working but not with the rotation. maybe I have to change something in Movement as in adventure mode in TPC from Opsive they sync the horzontal and vertical seperatly in floats and not a vector3. Most probilbly i need to sync the mouse for rotation.

I have a new idea for a great game, so I will write it out tomorrow and send you a PM. Maybe you'll be interested to do this with me as I know a lot about Unity, GearVR, Vuforia and own hundreds and hundres of the top assets.

Title: Re: Photon Networking with PlayMaker Tutorial
Post by: eagleeyez on October 14, 2016, 02:45:03 PM
I forgot to mention that I do everything with Playmaker but I do understand C#
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: eagleeyez on November 15, 2016, 01:47:36 PM
are you still here? I have been batteling wiht photon to get my idea underway and now I know how I can do it.
I would love to exchange my ideas with you.

Title: Re: Photon Networking with PlayMaker Tutorial
Post by: a0nasser on November 17, 2016, 04:56:11 AM
Thanks alot for your awesome videos
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: Mateo on December 10, 2016, 10:12:24 AM
Hi! Awesome tutorials!

In part 3 there are some transition events that I don't have...

(https://s17.postimg.org/e43ehe75r/Schermafbeelding_2016_12_10_om_16_06_37.png)

Any idea what I am missing?

Thank you for your tuts!
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: cloud03 on December 10, 2016, 04:49:07 PM
You'll need to add a PlayMaker Photon GameObject Proxy to make those events available to your scene.
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: Margaret61 on December 28, 2016, 08:16:33 AM
Higgs would be proud :P And so am I. Great article!
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: mtdues on May 04, 2018, 09:17:59 AM
Anything related on how to create a lobby system ?
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: Handrews on November 24, 2018, 03:17:30 PM
I was trying this days to import the photon actions to playmaker using ecosystem, but every time i get a lot of errors (image attached) and the actions doesn't appear in Playmaker FSM.

I tried the following a lot of times:

-I create a fresh unity project
-Import the last version of Playmaker (1.9.0) from Asset Store
-Import  the last version of PUN 2 - Free from Asset Store (2.5)
-Import Ecosystem
-Import the last version of Play Maker PUN from Ecosystem (1.9.2)

But every time i get the same errors and the actions doesn't appear...

Anyone know what is going on?

Thanks.
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: jeanfabre on November 26, 2018, 02:00:55 AM
Hi,

 you need PUN classic, PUN 2 has not yet been ported to PlayMaker, ( I am on it)

 Bye,

 Jean
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: azunitynoob on November 28, 2018, 03:39:54 PM
Hi,

 you need PUN classic, PUN 2 has not yet been ported to PlayMaker, ( I am on it)

 Bye,

 Jean
do you have the 1.91 version that's required? Pun has changed to pun classic in the store. And the version is 1.92.
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: jeanfabre on December 03, 2018, 12:56:47 AM
Hi,

 It's updated, you can use 1.92 and you will not get any warning.

Bye,

 Jean
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: heavygunner on October 08, 2020, 04:08:50 AM
Is this tutorial compatible with PUN2 ?
Dumb Game Dev on Youtube has PUN2 tutorials. But, he not continue that series :(
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: sebaslive on November 22, 2020, 11:56:35 PM
I just released two videos on photon.
Here is the first one:
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: nuxvomo on November 23, 2020, 12:57:01 AM
Awesome!
Just finished working on some PUN2.
I'm watching these now!
Thanks!
Title: Re: Photon Networking with PlayMaker Tutorial
Post by: Lucielu on May 23, 2021, 10:57:01 AM
Your tutorials helped a lot ! Thanks very much ;)