Velojet's Recent Forum Activity

  • Schoening

    Yes, what exactly do you want to do?

    Do you want a button in a game that you can click that takes you to a website?

    More details please!

  • bhavanvaishnav

    Sorry, it's not Ashley's job to modify third party plugins - let him use his time to make C2 even better.

    Why not have a go at making the mods yourself and re-release the plugin? (People like Taurian will bless you even more :)

  • brandyshea

    You need to give us more details of your problem:

    • Has Construct 2 worked for you before?
    • Exactly what error message are you getting?
    • What are the specs of your system?

    (And a more helpful topic title would be good :)

  • Update: Continuing to work on a Photon plugin. I've put a stub plugin in a simple C2 grid/map game (well, not really a game, just a sprite moving round a 20x15 grid), then exported the code and took the C2 runtime.js and have begun to fill out the Photon function with code modified from the Photon realtime demo. Promising results so far ...

  • ...

    Javascript Multiplayer Map Demo

    I've never seen this before, didn't even know they had a Javascript demo. Was it in the Java SDK? If so, it's probably targeting the Photon Server(Hosted) and not their cloud (Which is still ok).

    ...

    Yes, look for realtime.html in the samples dir. And yes, it does target the Photon Server(Hosted), but I'm hoping that a C2/Photon plugin that works on a self-hosted server would be an easy port to the Photon Cloud.

    Thanks for the CJR Gaming ref - I'll have a good look at that.

    And thanks very much for your offer of help with the Photon server itself.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Taurian (seeing we seem to be the only two discussing this topic) :

    I have now managed to take a look at the Photon JavaScript SDK. As you indicated in the Photon forum (I'm assuming you're the Taurian over there), their documentation isn't very helpful in figuring out how it all fits together.

    However, I am managing to get my head around their realtime.html Javascript multiplayer map demo and have started exploring how it might be plugged into Construct 2. Going to be a slow process though, I think. As you discovered, the Photon people don't seem to be at all interested in doing something on their side. Pity.

  • pinastro

    If you're wanting "the game to be played using a GAMEPAD" (as you say in your blog), then take a look at the Gamepad (beta) plugin. Studying its code will show you how/where C2 gets its peripheral input (at a basic level, it's handled by the OS rather than by C2 itself directly).

  • I'm using the built-in "Socket" plugin. I'm also not claiming that it's a Construct 2 bug, but I assumed it could be posted here as the plugin is included with Construct 2, or maybe I'm wrong about that?

    bolosaur

    I'm afraid you are wrong about that - sorry. As Ashley says there is no socket.io plugin included with Construct 2, so if there's a bug, it's not in C2 or its own component plugins.

    Where did you get the socket.io plugin from?

  • bolosaur

    You can't access socket.io functionality directly from Construct 2. So are you

    a) using one of the existing thitd-party socket.io plugins, or

    b) (as Ashley suggests) writing a socket.io plugin yourself?

    And in that case why have you come to the conclusion that your connection failure is due to a C2 bug rather than a plugin bug?

  • kmilo

    Before you ask a question like this, you really need to do a search. Entering 'multiplayer' in the forum search will show up this thread (and others), where your questions are answered.

  • [not a bug]

    Blam : Use Shift-Enter and you can have as many pars as you like (with blank lines between them) <img src="smileys/smiley1.gif" border="0" align="middle" />

  • ... their JavaSDK and the Construct 2 SDK might be all that's needed ...opefully, yes. I'll try to find time in the coming week to take a look at the Photon JavaScript SDK (bearing in mind that it's still in beta and a few problems have been signalled in the Photon forum).

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