Search Unity

  1. Calling all beginners! Join the FPS Beginners Mods Challenge until December 13.
    Dismiss Notice
  2. It's Cyber Week at the Asset Store!
    Dismiss Notice

[Coming Soon] PlyGame Multiplayer Starter Kit

Discussion in 'Assets and Asset Store' started by dreamlarp, Aug 31, 2014.

?

Would you buy a kit that would make Plygame multiplayer?

  1. Yes

    22 vote(s)
    100.0%
  2. No

    0 vote(s)
    0.0%
  1. dreamlarp

    dreamlarp

    Joined:
    Apr 22, 2011
    Posts:
    854


    PlyGame Multiplayer Blox

    This package includes various components that are implemented into plyBlox and allow synchronization between clients using Photon Unity Networking. Prior experience with Photon is highly recommended. It consist of plyBlox Events which are called by Photon when work needs to be done. A value block for synchronizing when local or network work needs to be done to keep all clients in line. And an action block which does the serialization of data and can be used as a base for all other

    Warning this product requires a licensed copy of plyGame and photon to work. Optional you can also use UMA since we have included support for that product also.


    serialization.

    Value blocks and action blocks are for passing data between clients and setting necessary blocks for those variables in the world. When we read data from an action block, we put that data into a local variable which is object/player specific , independent from other player characters and it's for us to do whatever we want with it on plyblox.

    An important method to keep in mind which deals with the origin of the data that is read is PhotonView.is mine. This method returns a boolean which determines whether the data's origin is local or over the network. If it's local(TRUE), then the object is a local object and no data reading is necessary. Vice-versa, if the object is on the network(FALSE), that means we have to read photon data and set local variables for it to include it in the world from our player's point of view.

    Two main element of implementing photon into plyblox is the event handler which will recieve photon messages mainly on Photon Initiate and Photon Serialized View(which is what gets called every time someone passes data over the wire regarding positions on the game objects, etc.). Photon initiate itself adds the events to the maineditor.


    Additionally, this kit provides support between the plyRPG skill system and photon, by letting us handle the data for buffs, debuffs, actives and passives, including their positions and projectiles over the network and between the clients so that the game world and objects sync up between player characters.

    Last but not least, open source avatar creation framework Unity Multipurpose Avatar(UMA) is used for it's flexibility on custom character creation.

    The plyBlox component and the PhotonView component are assumed to be on the object. This is required because linking between the two is done at run-time. All components are extensible and easily modified.

    • Events
    - On Photon Instantiate
    - Called when Photon first starts up. Can be used to do some one time initializing
    - On Photon Serialize
    - Called when Photon request data that must be synced between clients

    • Value Block
    - PhotonView.isMine
    - Used to determine whether local or network work should be done

    • Action Block
    - Serialize
    - Used in conjunction with On Photon Serialize to serialize data that needs to be synced
    - Use as a base for serialization of other objects and data

    Part 1


    Part 2 Full


    Part UMA




    This thread for now is to see if there is enough interest in making Plygame Co-op Multiplayer to submit this to the asset store.
     
    Last edited: Sep 17, 2014
    Grave174 likes this.
  2. wmgcata

    wmgcata

    Joined:
    Jul 20, 2012
    Posts:
    169
    I'd definitely buy this. I'm pretty sure that about 90% of the current plyGame users would agree with me that this would be a perfect addition for the original plyGame kit. You should try to sell it once you've got stuff ready like multiplayer quests, skills and enemy behaviour. You've got my support.
     
  3. dreamlarp

    dreamlarp

    Joined:
    Apr 22, 2011
    Posts:
    854
    "skills and enemy behaviour" are already framed out in these blocks. Those are just synced animations witch we have with the character. Quests do not need to be synced at all. We are putting in Photon chat but since the chat has nothing to do with plygame blocks I suspect nothing will need to be added to this package.

    But any other issue we need to add for our game development that has anything to do with photon we will add.
    This is however a starter kit, we are not going to make blocks for everyone's games for them.
     
  4. Gunhi

    Gunhi

    Joined:
    Apr 18, 2012
    Posts:
    294
    how about Skills via Network?
     
  5. dreamlarp

    dreamlarp

    Joined:
    Apr 22, 2011
    Posts:
    854
    yes we are making that better and also setting up sending all uma data.
     
    hopeful likes this.
  6. dreamlarp

    dreamlarp

    Joined:
    Apr 22, 2011
    Posts:
    854
    Our new update and progress. We are almost done with syncing UMA over photon with plyrpg too.

     
    wiseman_2 likes this.
  7. wiseman_2

    wiseman_2

    Joined:
    Dec 11, 2013
    Posts:
    66
    love to see this...

    what do you think it will cost indie devs?
     
  8. dreamlarp

    dreamlarp

    Joined:
    Apr 22, 2011
    Posts:
    854
    When we are ready to submit it might be around $20 but will raise as we add more blocks/scripts that we will have to make anyway for our game. So far we will start with Plyrpg and UMA.

     
    hopeful likes this.
  9. dreamlarp

    dreamlarp

    Joined:
    Apr 22, 2011
    Posts:
    854
    Updated OP.
     
  10. dreamlarp

    dreamlarp

    Joined:
    Apr 22, 2011
    Posts:
    854
    We are finishing the doc's and making a final tutorial video before we submit this at the end of the week.
     
    hopeful likes this.
  11. dreamlarp

    dreamlarp

    Joined:
    Apr 22, 2011
    Posts:
    854
    Added full tutorial.
     
  12. wiseman_2

    wiseman_2

    Joined:
    Dec 11, 2013
    Posts:
    66
    looks awesome... let us know when it's live...
     
  13. dreamlarp

    dreamlarp

    Joined:
    Apr 22, 2011
    Posts:
    854
    Ok we are pushing to submit this week.
     
  14. dreamlarp

    dreamlarp

    Joined:
    Apr 22, 2011
    Posts:
    854
    We submitted it to the store so now we will have to wait and see if it's accepted.
    You can purchase it from our site if you do not want to wait.
     
    John-G likes this.
  15. Shawn67

    Shawn67

    Joined:
    Jan 2, 2014
    Posts:
    2,196
    Is this project dead? I'm assuming it got rejected for some reason from the asset store since no links and can't find it anywhere. Would love to find something like this out there. :)
     
  16. Grave174

    Grave174

    Joined:
    Jun 20, 2014
    Posts:
    15
    Im wondering if this project is still going?
     
  17. hopeful

    hopeful

    Joined:
    Nov 20, 2013
    Posts:
    4,961
    You can still buy it from their site (I think), but they decided to go in a different direction so it's not being actively supported any longer.