Integration with Photon Cloud: Multiplayer

0 favourites
From the Asset Store
This is a simple login feature to access Metamask in construct 3. Requires a Chrome Browser and Metamask Extension.
  • I will dedicate my first multiplayer game to you if you pull that off!

    BigMistake

    Well, that's certainly an incentive! I'm making progress, but slowly - having to fit development in between work projects :(

  • Well, that will give me time to hammer out the details so I can wait :)

  • I want dedicate my first multiplayer game to you too =)

    I wanna have money to pay you to have more time in this. Can be really important to construct C2 have this.

  • SocialLie

    Thanks for your vote of confidence!

    Progress report: I'm now just putting the finishing touches to my work on turning my C2 PhotonPlayer plugin into a PhotonClient behavior. Like my original plugin it interfaces with the 3.0 Photon JavaScript SDK, which doesn't have a Photon Cloud option (so, as mentioned before, I've been running it with Photon Server).

    I'll need to upgrade it to interface with the 3.2 Photon JavaScript SDK, which does have a Photon Cloud option. However, there seem to be quite a few changes in the 3.2 API, so I'll need to get back to

    the Photon/ExitGames developers for advice on making the necessary changes.

  • Velojet the better case now is wait for next version of your plugin, or try to use Photon server with the plugin is this version?

  • SocialLie

    Better to wait for my updated PhotonClient behavior (in the next few days).

  • Uhuuu! I will wait for this o/

    Thank you.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Velojet

    Dude you are brillant just reading this post and getting my hands dirty

    with this plugin. Look foward to future updates!

  • Progress report: I'm waiting for feedback from the Photon/ExitGames team on my PhotonClient behavior before releasing it publicly for people to play with.

    BTGames

    Thanks for the compliments!

  • super excited.

    Is this plugin going to be easier to use then the various socket.io plugins? Because I don't really know how to set up a command prompt server..like basically what I'm asking is this plugin going to be as simple as any other construct 2 behavior? or at least only a bit harder to use?

  • SpacialPumpkin

    Is this plugin going to be easier to use then the various socket.io plugins? ... like basically what I'm asking is this plugin going to be as simple as any other construct 2 behavior? or at least only a bit harder to use?

    Very definitely! My main aim has been to make a plugin/behavior that Constructors could use at a high level, IOW they/you shouldn't have to manipulate Socket.IO messages and break them apart in order to extract their meaning.

    You can see that from the conditions/events, actions and expressions that my PhotonClient behavior implements:

    [Conditions/Events]

    • Game server is ready
    • On joined
    • On collision with another player
    • Web player/s to be created
    • New web player has joined
    • Web player has been updated
    • Web player has left
    • My player has left

    [Actions]

    • Initialise data of web player to create (i.e. data to be used by C2 in creating web players )
    • Set the web player's ID (pairs Photon-allocated photonID with C2-allocated UID)

    [Expressions]

    • WebPlayerX (The current X co-ordinate of web player)
    • WebPlayerY (The current Y co-ordinate of web player)
    • WebPlayerUID (The web player's UID)
    • NumWebPlayersToMake (The number of web players to make)
    • WebPlayerPID (The web player's Photon ID)
    • Name (The player's name)

    ... Because I don't really know how to set up a command prompt server ...

    The Photon Cloud will handle ALL the server side for you - there'll be absolutely no need to ever descend to command prompt level <img src="smileys/smiley4.gif" border="0" align="middle" />

  • <img src="smileys/smiley20.gif" border="0" align="middle" />

  • Wow, you seem to be making very good progress. I kind of have up on the idea of a photon/c2 plugin, but I guess there's hope afterall!

  • Velojet This plugin is gonna be AWESOME, but how are we gonna make multiplayer rooms and stuff?

  • Progress report: I've realised I should be making much more use of C2 triggered events (e.g. OnWebPlayerJoined), so I'm into a fairly big rewrite at the moment. But the end result will be a easier-to-use behavior.

    harrio

    Thanks for the <img src="smileys/smiley20.gif" border="0" align="middle"> !

    Rory

    Yes, there is hope!

    InvaderX

    The Photon Cloud allows you to create rooms (http://doc.exitgames.com/photon-cloud/FeatureOverview/) and I'll need to provide a C2 interface - something for the next version.

    Not sure about stuff, though <img src="smileys/smiley2.gif" border="0" align="middle">

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)