Velojet's Recent Forum Activity

  • 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">

  • 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" />

  • 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!

  • There's an excellent manual entry on Functions, complete with screenshot examples.

    Sushin, what more do you need to know?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How did they made the networking?

    Principally Node.js. on Twitter.

  • SocialLie

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

  • 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.

  • No problem for me, either, on Windows 8 Pro, so not C2's fault. TELLES0808's suggestion seems a good place to start hunting.

  • androidmt319

    A common reason for text not displaying is not sizing a large enough area in which to show it. Trying increasing the dimensions of your Health text object.

  • tnvoon

    When you get such an error message and it points you directly to the file where the failure occurred, you can take the name of that file (ERAHelpers.h, in your case) and search the Forum to see if someone else has encountered that error. Here's one such thread where the poster has solved their own fault.

  • markpouncey

    Have a look at my (Behavior) MultiPlayer + online demo for more info on using C2 with a server backend to make a multiplayer game.

  • mathiaswing

    I suggest you try my demo game (see my OP) and decide for yourself.

Velojet's avatar

Velojet

Member since 22 Nov, 2011

Twitter
Velojet has 1 followers

Trophy Case

  • 13-Year Club
  • x3
    Coach One of your tutorials has over 1,000 readers
  • x2
    Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

16/44
How to earn trophies