Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

[RELEASED] Photon Blox (plyGame Multiplayer)

Discussion in 'Assets and Asset Store' started by hjupter, Nov 11, 2015.

  1. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
    Hey guys I just wanted to show you the extension I've been working for plyGame which its basically an integration with Photon Unity Network + extras.





    Here is a list of some of the features included:
    • PhotonPlayer and PhotonNPC component:
      • Position
      • Rotation
      • Skills
      • Attributes
      • Actor states (Dead, Alive)
      • Factions
    • All Photon Events
    • Crowd Manager System (Handle hundreds of actors with few network messages)
    • Lot of Photon Actions and Values:
      • RPC / Blox RPCs
      • Raise Events
      • Player Properties
      • Room Properties
      • And much more...
    • Many custom blox:
      • Character Jump, Land, Footstep and more
    • Custom blox for assets:
      • Text Mesh Pro
      • Pool Manager
      • Audio Toolkit
      • EZ Replay Manager


    All you have to do with your current player or npc is just attach the correct component, these components keeps track of almost everything on the actor/character and keep it synch for current players and even send updates to new players all automatically, you can also choose to synch selected blox variables. These components are optimized to send as less messages as possible in order to save bandwith.

    Right now there 3 ways to send messages with photon:
    • Raise Event which requires you listen to an event and check the event id
    • RPC which needs to be defined on a script with the attribute [PunRPC]
    • And RPC Blox which makes your life easier and all you have to do is define and event called [RPC]YourRPCName
      This one is the easiest one to use but right now limited to 4 parameters, I will make this to work with a list instead.

    This extension also comes with few extras like:
    - Custom PlayerThirdPersonController with the ablity to jump as many times as you want
    - Add HUD blox wich will automatically adds a character HUD with a predefined prefab and settings
    This take care automatically of update character hp bar, name and level.
    - A very simple footstep system with a On Character Foostep blox event. Only works with mecanim.


    - On Landed and On Jump events for characters, this is useful for things like adding particles or sound effects.



    Roadmap / In Progress
    This is just a list of what I'm currently working or plan to work:

    Trello Project

    After finish with this Photon Blox project I have planned to work on a UNET version.

    Here is a demo I'm still working and its a bit far from perfect but here is how its looking:

    WebGL Demo

    Documentation

    If you have any suggestion just let me know.

     
    Last edited: Dec 30, 2015
    tequyla, John-G and theANMATOR2b like this.
  2. arkhament

    arkhament

    Joined:
    Jan 24, 2015
    Posts:
    114
    look super cool, I think you need to publish too this in the photon forum, because is super interesting.
    Estimate price?
     
  3. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
    Thank you! and yes you are right Im gonna post this on the photon forum.
    The price is $45 it has already been submitted to the Asset Store.
     
  4. Gunhi

    Gunhi

    Joined:
    Apr 18, 2012
    Posts:
    300
    look cool! When will you release this on the AssetStore?
    Does it has the sample in it? or just blox?
     
  5. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
    I has already been submitted so hopefully this or next week.
    Yes it does include the example you can see on the video.
     
  6. Gunhi

    Gunhi

    Joined:
    Apr 18, 2012
    Posts:
    300
    sounds great! Will you plan to integrate Photon TurnBase in the next version?
     
  7. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
    As far as I know you can use the same PUN code for Photon Turn Base, so it should work fine as it is right now.
     
  8. arkhament

    arkhament

    Joined:
    Jan 24, 2015
    Posts:
    114
    Very good price
     
    Last edited: Nov 11, 2015
  9. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
  10. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
    Photon Blox has been finally released on the Asset Store!!

    You can get it from here: https://www.assetstore.unity3d.com/en/#!/content/49691

    I also have some news about a custom LoadSave provider, I'm currently working on a LoadSave provider using Brain Cloud https://www.assetstore.unity3d.com/en/#!/content/50220 I already have a complete and integrated login system with plyGame and Photon Blox, load and save features are almost done so this is coming on the next update.




    1.0.5
    - Added new PhotonObject component which will handle the network identity of non actor objects like Items
    - Modified PhotonCrowdManager to work with PhotonObjects
    - Fixed some issues with PhotonCharacter
    - PhotonSpawnPoint now takes in count player distance
    - Added new Photon Drop Loot and Create item blox. These blox's should be used instead of the default plyGame blox's.
    - Equipment scene now demostrates how to create items in the scene, use drop loot, synch equipment
    - Added new Bag and CharacterSheet UI
    - Items are now being synchronized

    1.0.4
    - New equipment synch. Note that Items are still being worked on so they are not synch with photon yet.
    - Added equipment scene example
    - Added auto attack block
    - Fixed issues with Unity 5.3

    Got news from the asset store hopefully will be available next week. What do you guys think of a christmas sale?

    New demo: https://build.cloud.unity3d.com/share/Wyumw_yicg/webgl/
     
  11. Gunhi

    Gunhi

    Joined:
    Apr 18, 2012
    Posts:
    300
    I bought it from Sellfy. Can I get a voucher on Asset Store?
     
  12. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
    Yes you can, PM or email me your invoice number so I can verify it then Ill send you a voucher :)
     
  13. tequyla

    tequyla

    Joined:
    Jul 22, 2012
    Posts:
    335
    hello,

    vendo, crafting and trading in between players are in todo list ?

    +++
     
  14. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
    Hi, there are other plugins for crafting already everything that works with plyGame works with Photon Blox. About vendor you can always make yours thats something that can be easily done but I guess would be nice that I add an example since Im adding Brain Cloud support and I could use their Market Place feature for that.
     
  15. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
    Hey guys just a quick "small" update:

    1.1.0
    - Added brand new Brain Cloud package which tightly integrates Brain Cloud with plyGame.
    - Brain Cloud can be used as a Load Save provider to save everything as also use other Brain Cloud features as Achievements, Quests, Levels, Milestones, etc.
    - Updated full demo with login and lobby screens
    - New BrainCloud login demo
    - Added new basic GameMenu script
    - Added new blocks for BrainCloud (IsInitialized, sAuthenticated, AuthenticateUniversal, AuthenticateWithEmail.. more coming soon)
    - Photon Character should disable all possible persistance on remote characters now
    - Added OnPlayerSessionExpired, OnReadAllPlayerStats, OnExperienceChange, OnReward, OnPlayerState, OnXPLevelMetaData, OnReceiveAchivements events
    - Added new blocks for BrainCloud (IsInitialized, sAuthenticated, AuthenticateUniversal, AuthenticateWithEmail, UpdatedPlayerName, ResetEmailPassword, Logout, GetStat, GetLevelTitle, GetLevel, IncrementXP,
    IncrementStats, ReadAchievement, ReadAllPlayerStats, ReadPlayerState, ReadXPLevelsMetaData, ResetPlayerStats, GetExp, ReadAllPlayerStats blocks)
    - Added new block to Select UI selectable objects
    - Added new block to Activate UI InputFields
    - Added blocks for Dictionary (Add, Get Value, Create, Count, Remove, Contains Key)
    - Made some fixes to UGUISetInputValue, UGUIGetInputValue, UGUIGetText
    - Screen will avoid children Canvas if the parent has one
    - Added LoopWithAchievements container
    - Added Achievements UI which shows how to setup a list of achievements
    - Added ResetLeaderboardScore block
    - Added block to get json values coming from BrainCloud events
    - Added respawn notification
    - Added stats tracking (death by monsters, death by players) more soon
    - Added new Inside Lobby condition block
    - Added Set Player Name block
    - Fixed the issue where characters won't persist their position
    - Tweaked Screens prefab

    • Brain Cloud Changes:
      • Added HasEntityType method to the User class
      • When an entity does not exists and create a new one now the system will load and add new ones to the current user to avoid duplicates
      • Added new Player Level Title block
    • NJG Blox Changes:
      • Screens now be created manually by assigning the Screen component to an object and just click on Create and Save
      • Fixed a small issue with CharacterHUD component
      • Screens are no being properly removed from history when they get destroyed for when changing scenes
      • Added Is NPC block
    WebGL Demo

    This update has already been submitted to the asset store.
     
    Last edited: Dec 30, 2015
  16. nixter

    nixter

    Joined:
    Mar 17, 2012
    Posts:
    320
    Looks promising.

    I really enjoy the item dropping and picking up feature. This can allow some basic trading between players which is a feature lacking in many other Unity multiplayer packages. However, I did encounter a duping bug. A player would sometimes drop an item, another player would pick it up and that item would disappear but the original owner could still see it and pick it up. Seemed like it was only happening on the room owner's client, but I didn't test it out with 3+ players to confirm. You may want to do more testing there.

    What's next?
     
  17. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
    Well next I have to fix that issue :D.. I have planned to expand that demo a bit more by adding vendor, quests, pet system, chests and other stuff.. I will keep adding stuff as I update the asset as also fixing bugs so keep them coming.
     
  18. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
  19. Sr-Liermann

    Sr-Liermann

    Joined:
    Jan 7, 2015
    Posts:
    68
    Hello hjupter!
    I would like buy your "Kit", but I have some ask to do:
    Do you have planning to continue suport and expand this kit?
    Do you have planning to expand and add more features on your demo project ?

    I played your demo and I liked this, but I miss a very important feature on this, that are a Simple Select / Create Character Scene. I Really Would Need a Simple Example of This. There are any chance to add it in your demo or an good tutorial?
     
  20. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
    Hi, I'm actively supporting and updating this package, I've doing a lot of improvements, I'm currently working on a game which use this so I'm adding new stuff and fixing things as I keep going.

    There is a Character selection system right now but I have not made any test scene for it yet but this is how it works right now:


    I will add a demo scene for the character selection on the next update
     
  21. Sr-Liermann

    Sr-Liermann

    Joined:
    Jan 7, 2015
    Posts:
    68
    Very Nice Example in This Video!

    I have tried to test your webgl demo with two people but does not work in PVE and does not work in PvP . The second player does not see nothing but only clouds.
     
  22. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
    Sorry about that, that demo was made with a very old version I guess something is broken now, probably issues with BrainCloud since they have changed how some data returns from server. I will update the demo this week. I have a lot of new stuff to add.
     
    pushingpandas likes this.
  23. pushingpandas

    pushingpandas

    Joined:
    Jan 12, 2013
    Posts:
    1,418
    awesome character screen! Cant wait!
     
  24. Sr-Liermann

    Sr-Liermann

    Joined:
    Jan 7, 2015
    Posts:
    68
    Thankyou for your suport!
    When your update is done I Will buy your asset!
     
  25. scranley

    scranley

    Joined:
    Dec 1, 2013
    Posts:
    9
    Hello,

    Is Photon Blox still being supported? I was very excited to see it, and wanted to buy.. but I saw the last post on the support forum was in August.

    Thanks!
     
  26. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
    Hi yes it is. Im currtently working on the next update which will be released next month. Im also working on templates for this system as also working on a personal project using photon blox and braincloud blox.
     
  27. pushingpandas

    pushingpandas

    Joined:
    Jan 12, 2013
    Posts:
    1,418
    The shown video is from the asset? Its all included???!?
     
  28. hjupter

    hjupter

    Joined:
    Dec 23, 2011
    Posts:
    628
    If you mean the video from the first post yes its included but as a downloadable demo package. Im going to upload to the asset as a free template soon anyways.
     
  29. Simon-R

    Simon-R

    Joined:
    Mar 29, 2014
    Posts:
    11
    Hjupter, were you able to build documentation, update the demo video, or release the template? I have the same concerns as a few users that this is not being supported / developed further. The last Trello update was earlier this year. Thanks.