Velojet's Recent Forum Activity

  • This is a Construct 2 question ??!?

    Do a Google search for 'php send mail' - you'll get all the advice you need - and more.

  • Update: Well, I've actually now got a working experimental PhotonPlayer multiplayer plugin for Construct 2. Here's a tantalising unfaked screenshot:

    <img src="http://www.millercrawford.com/images-offsite/construct2/c2-photon.png" border="0" />

    ... and here's the C2 event sheet:

    <img src="http://www.millercrawford.com/images-offsite/construct2/c2-photon-events.png" border="0" />

    Yes, that's really all there is.

    I've got quite a bit of tidying up to do over the coming week, before the code's fit for public viewing. After that, I plan on releasing it as an experimental plugin for playing around with and giving me feedback.

    As you can see from the browsers screenshot, I have it running on localhost (WAMP server) - not yet the Photon Cloud, which was Taurian's original challenge.

    Watch this space!

  • Nickfost

    Have you looked at my Building a platform game - a beginner's guide? It shows you how to use global variables to keep and display scores.

  • zsangerous

    Not just you! I also failed to get new release emails for r94 and r95 - and r93. So I was quite surprised to see a reference in the Forum to r95.

    I checked my profile to see if anything had changed in my subscriptions and email address - but both were just as I'd set them up.

    However, I then got a new release email for r96. Let's hope it was only a temporary hitch.

  • I'm not sure that actually works - at one point it didn't ...

    Darn! I've been reporting spam for months, believing my reports would end up on someone's desk and Action Would Be Taken.

  • Promising!

    Looks good. Your server isn't set up for .ogg files though so no sound in Firefox.

    Yes, run it in FF with Firebug enabled and you'll see the error message.

    No sound in IE9 either, but that's not really a surprise :(

  • Taurian

    Thanks very much for your encouraging reply.

    Yes, your reference to Op Codes does ring a bell. I'll be using PhotonPeer.Lite.raiseEvent (eventCode, data ) to send the player's position to the server. I see the Photon JDK documentation says that its parameters are:

    • eventCode <Byte>   The event code (I guess this is the Op Code you refer to)
    • data <Object> A JSON object with the event data (so it uses JSON rather than CSV, as you mention the Socket IO plugin does).

    I'll certainly get back to you if I hit a snag.

  • Update: I now have more than just a stub plugin in a simple C2 constructed 20x15 grid.

    What I've now got is a PhotonPlayer plugin that's a modified Sprite plugin (ideally, it would be a PhotonPlayer behavior that could be added to a Sprite).

    It dynamically loads the PhotonPeer.Lite JavaScript interface to the Photon server running locally, draws the PhotonPlayer sprite on the screen (movable by arrow keys) and sets up buttons for 'connect', 'join', 'disconnect', 'leave' actions, which enable it to join a game in a game lobby. That bit works.

    To do next (the real multiplayer bit): enhance the plugin to send a PhotonPlayer's position via the server to another C2 grid in another browser and have it appear and move there (along with the local PhotonPlayer object), and vice versa.

    Questions/suggestions welcome!

  • Try Construct 3

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

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

    My Building a platform game - a beginner's guide shows you how to set up and manage a scoring display.

    Have fun! (And never apologise for being a newbie - we were all newbies once :)

  • Worth having a look at this thread. The roar.io developers themselves chimed in, but now seemed to have cooled off.

  • ... I can hear everyone laughing!!!o. no, we're saying, we've been there and done things like that - and weren't so honest about it.

  • Keep up the good work! If its not too much, could you share with us a video of that in action?

    I'll post a capx when I've got something worth sharing ...

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