[Released] Photon Blox (plyGame Multiplayer)


(Hjupter Cerrud) #283

I can’t say its impossible but its very difficult. I mean you could try to make everything handled by master client and host master client in a private server the problem would be making new rooms etc but with this you can do that https://www.assetstore.unity3d.com/en/#!/content/71391 anyways this is way too complex if I were you I would not go that way unless you have a team and money to do it.

If you are making a simple online rpg you are just fine.


(DarkDeivel) #284

I use two scenes, the outside world is given and another inner one, how do I make transitions between scenes? And just like me save the state of the scene?


(DarkDeivel) #285

My question is still relevant


(Marshall Heffernan) #286

Wait for a response, it’s only been 1 day.

I googled “photon transitioning between scenes” and the first result says you need to make a new room.


(DarkDeivel) #287

I asked a question about the move speed, but so far I have not received an official response, therefore I already remind


(Hjupter Cerrud) #288

Speed its supposed to be synchronized by PhotonCharacter/PhotonNPC component you just need to turn on synch speed toggle, if this is not working for you there is definitely a problem.

As itsmars mentioned you have to leave the room and join into another you will need to re-instantiate your character etc.

Btw guys I just setup a new forum for this http://forum.ninjutsugames.com/


(Alien) #289

can you document what version of photon is required? i noticed if i upgrade to the last 2 updates of photon, i get lots of errors.

there is no indication was version is actually supported. and finding an older version photon is a pain. (may want to provide a link, if you have one, to the supported version).

just might save others some issues.


(Hjupter Cerrud) #290

An update that supports last version of PUN has already been submitted to the store today.


(Hjupter Cerrud) #291

Photon Blox is now on sale at the Asset Store 25% less https://www.assetstore.unity3d.com/en/#!/content/49691


(DarkDeivel) #292

I wanted to register on your forum, but I did not receive the activation email, I tried 2 different e-mails.

I created a new project for tests. Added plyGame latest version + photon blox latest version + PUN latest version, one character and environment asset.

I do not do anything else, this is what I got:


(Hjupter Cerrud) #293

They made more changes in PUN 1.82 I already pushed an update to the asset store. The first 2 errors on that screenshot are fix in the last version on the asset store for now you can delete the script PhotonCullingHandler if you are not using it if you do then PM me.

Thanks for pointing this out Ill take a look.


(DarkDeivel) #294

Thanks! If i delet this file, when I download the new version of photon blox it will be updated and added?


(DarkDeivel) #295

New component “Photon equipment slot” good synchonise equip weapon! But, new connected players do not see equipped weapons from those who are already in the game


(Hjupter Cerrud) #296

New version is on the Asset Store now. https://publisher.assetstore.unity3d.com/sales.html

Make sure you have setup On Equip and On Un Equip events setup in your blox otherwise is not gonna work. There is a demo scene using this, you can take a look at how it is setup.


(DarkDeivel) #297

Yeah, i add On Equip and On Un Equip, really good work for now connect player. But new players see the empty hands of already connected players until they are equipped again item.


(Lord Hog Fred) #298

Hey @Hjupter, the link to the example package is broken. Any chance we could get a new link?
Thanks


(DarkDeivel) #299

Hi all! How use “player tag object” in c# script?

If i use
> Player.Instance.actor

Good working but as a block:

Me need block “Player tag object” in c# code:


(Alien) #300

@Hjupter , tried to create a login for your forum, no email was ever sent (or i didn’t get it). Just FYI.

Question:

  1. Can i use DunGen to procedurally create a dungeon (at runtime) and have all players use that? how would i get that to sync? With navmesh being able to be created at runtime now (w/v5.6), wondering if procedurally generating the dungeon would work?

Problem:

  1. I currently have things setup and can access the room and join a game/scene, but the remote player can not see the host player… although the host player can see the remote player. thoughts on what would be causing this?
  2. animations don’t sync… (i think i saw something on this, i haven’t looked above in the forum, just watched your videos and xDesign101… Thank You!).
  3. movement seems rather choppy. i see the character move 1 meter at a time… instead of in a fluid movement/motion.

Thanks


(Marshall Heffernan) #301

I’m also having these three problems. :wink:


(Hjupter Cerrud) #302

Here is the update demo: https://www.dropbox.com/s/f7ljwpc1p2z38q0/PhotonBloxDemo2.0.unitypackage?dl=0