Velojet's Recent Forum Activity

  • Yung

    Yes, I'm in contact with the Photon developers and am starting work on a C2 behavior/plugin for the Photon Cloud.

  • Cowdozer

    Thanks for keeping this discussion alive!

    RegEx a language? Isn't it a pattern matching mechanism that's implemented in many languages (even SQL)?

  • Velojet

    No worries, I'm going to explore your code and aim to help you achieve this goal.

    aceofpack

    Great! Very happy to have your interest and involvement!

    ... This means that a method of generating code to be inserted server side can be dreamt of. This is what velojet is actually doing here. He's used code from the runtime that he could run on the server.

    Perhaps I need to clarify this. What happens is that my server code uses NowJS callbacks that are implemented in the C2 runtime. There's no code from the runtime that runs on the server.

    But is this plugin only made for ppl who have a server, or is this a plugin to connect to a already setup server?

    mathiaswing

    Ppl need to set up a server for the C2 runtime to communicate with - but I provide all the code needed to implement that (using the NodeJS and NowJS libraries (see my OP)).

    What if i use a cocoonJS plugin? Isn't cocoonJS supposed to support multiplayer gaming?

    Haven't used CocoonJS myself, but my understanding is that it simply uses WebSockets to support client<->client multiplaying, without the intervention of an authoritative server to manage and arbitrate (and to red-card cheaters).

  • Ty guys. I want to be a great game developer. All those posts about C2 for prototypes made me feel like im a "fake" game developer.

    So only fake developers do prototypes???

    All great developers - of any software, in any language - make prototypes. In fact, if you don't do prototypes, you're probably not a great developer.

  • mathiaswing

    I'd like to think that this is the closest we've come so far to a multiplayer plugin for C2. There are other plugins which enable multiplaying, but they're lower-level socket plugins.

    Making a multiplayer game still requires server-side coding in JavaScript (or at least modification of my server-side code).

    aceofpack

    Thanks for your thanks! And thanks for the link on optimising WebSockets. My plugin is built on top of NowJS, which puts another layer of abstraction on top of Sockei.IO, so there's plenty of room here for optimisation.

    As for porting code to a server side environment to avoid cheating, there's no way to do that via Construct 2, which is why I've coded a separate server in JavaScript.

  • jayderyu

    You might like to try out my PhotonDemo/PhotonPlayer plugin (see my post of 7 July 2012) - it still works with the latest version of the Photon (local) server. Feel feel to play around with my plugin code.

    My challenge (@Taurian's original challenge!) is to get it working with the Photon Cloud, using Photon's just updated JavaScript library. But for me, that's going to have to wait till I'm back from holiday in the summer sun and surf, doing my best over the next two weeks to keep away from pesky digital devices. <img src="smileys/smiley2.gif" border="0" align="middle" />

  • This is amazing :) it's much more accessible than the others we had before.

    Rory

    Have you checked out my

    (Behavior) MultiPlayer + online demo. Making an accessible plugin/behavior was my main aim.

  • bertelmonster2k

    Marvellous news! Feedback to come (on southern summer holidays right now).

  • Savvy001

    Why "would be awesome"? How would this be useful to you? And to developers in general?

  • nathus

    Just to check: you right-click on the Layout, select 'Insert new object', look under 'General' and you should find 'Function'. But you don't?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • lemo Thanks greatly for your very positive feedback! No, it's definitely not the ultimate multiplayer plugin (I'm working on that <img src="smileys/smiley2.gif" border="0" align="middle" /> ), but maybe it's an indication of one way of getting there.

  • HollyB

    Can't help you with this plugin but take a look at my MultiPlayer + online demo. My demo's hosted on Nodejitsu, so you should be able to do the same if you use my plugin/behavior and examples.

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