Multiplayer Demo in C2

0 favourites
From the Asset Store
Demo Game Multiplayer Online with member registration system
  • really brilliant stuff you are working on, thanks for displaying this to us all.

  • really brilliant stuff you are working on, thanks for displaying this to us all.

    what he said...

    i couldn't help myself...lol.

  • hat he said...

    What he said

    Trolololol

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Updated post with new video!

  • Nice job!

  • I gotta say, this looks really amazing. I also gotta say, I have no idea how it works or what you're doing. <img src="smileys/smiley36.gif" border="0" align="middle" /> I guess your ultimate goal is to make it so accessible that even people like me can use it! Keep up the great work.

  • talkinghead: Ciao, I allowed myself to correct the updated video link in your first post, the displayed number was correct, but the number inside the url tag was the one of the old video.

    Now it's all good.

    And it's another quite nice video. Can't wait to get my hands on this and mess with it to my contempt ^^

    And the idea of pro and beginners alike usable solution is very attractive.

    Now for a couple of relevant and deep questions/remarks.

    What software did you use to make the capture ?

    Is that Jeff Buckley in the background ? I prefered the communist party tbh <img src="smileys/smiley4.gif" border="0" align="middle" />

    it was a funny one, but red makes mad.

    Keep up the good work (but think about sleeping too ^^) this looks pretty awesome.

  • Jesus... I've almost managed to miss work cause of construct... Somebody is getting a little obsessed lol.

    Kyatric

    thanks for fixing that link mate, I must have been a little sleep deprived earlier... Feeling better now after a cup of coffee. And lol Jeff Buckley. No that's the star child himself there, mr. David Bowie.

    As for the recording soft, I use camtasia studio which is unfortunately not freeware. Just had a license from way back which I have been recycling and moving from computer to computer.

    SullyTheStrange

    Thanks! Well some coding knowledge will still be required I'm afraid (until someone makes a construct for network coding that is). However, I'll try to keep everything as simple as possible.

    So yeah, going back to the job... Will probably work on the plugin during lunch break. I'm thinking, with nowjs working, introducing some type of ingame store/purchasing functionality might be nice. I'm gonna take a peek at a couple of solutions later on.

    Cheers

  • Amazing work man, I really can't wait to play with this.

  • Hoho, I missed Mr Bowie.

    I was hesitating between Buckley or Bellamy (from Muse). Did not push back enough in time ^^

    He looks pretty darn young on that shadowy stuff <img src="smileys/smiley1.gif" border="0" align="middle" />

    'm thinking, with nowjs working, introducing some type of ingame store/purchasing functionality might be nice. I'm gonna take a peek at a couple of solutions later on.

    Haha, the "feature-adding" syndrom hits you <img src="smileys/smiley2.gif" border="0" align="middle" />

    Don't forget to release even an early basic version so I can stop drooling on my pants ^^

    You can always make updates later on, trust me you'll have feedback and following.

  • What some people can do in a couple of days is astounding :)

    Bummer about the wrapper but this is looking really good. The video update is awesome.

  • GenkiGenga rexrainbow

    Thanks for the kind words guys, I really appreciate that.

    Kyatric

    Haha, you are too right. I'm prone to being affected by the "feature-adding" syndrom as you call it. Ha, but no worries, I'll release it as soon as I can.

    Here's a little bit about the design of the plugin (suggestions are welcome):

    So as I've mentioned a little bit of coding knowledge will be required. Fortunately, we are dealing with javascrip so nothing too complicated. So basically, nowjs works in the following way.

    Lets suppose you have a function called receiveMessage(msg) on your server. To make it accessible to the client (the player that will be participating in the game) you will have to put the prefix "everyone.now." in front of it. So your function turns into "everone.now.receiveMessage(msg)". To access this function from the client (speak, from your HTML5 application) you simply call it with "now.receiveMessage("Your message goes here")".

    The same thing of course works the other way around.

    Now, CS2 plugin wise this would be very difficult to implement without limiting the potential of nowjs. To make it really simple I could just "hard-code" a couple of functions into the plugin and whoever uses it will be able to call them (like for example receiveMessage, registerPlayer and so on). However, I feel like this would be the wrong approach, as I really don't know which functionality you guys are interested in the most.

    So I feel like doing the following:

    Firstly the plugin/behaviour will have two core actions: "call function", "receive response". Now "call function" will just call a function that you yourself have defined already. This would involve a couple of modifications to the runtime.js file of the plugin. I know this might sound a little complicated, but thats why it's taking me a little longer to release this and make it accessible to everybody.

    Everything will be fully commented and explained. I'll also include around 10-20 examples of C2 project, plugin modifications + server codes as well as point you to some comprehensive resources in case you get stuck.

    So that's the plan for now. What do you think?

    Cheers

  • Sounds great. One thing I'm thinking of that might be cool Iain the game I'm working on right now I'm planning on making a level editor. It would be cool to allow other users to view these levels. Is that something your plugin could provide?

  • Hey, i�ve been reading about your work and sounds great.

    but please, can you recommend me a page where i can learn enough JS as to use this from 0, or make others plugins? Thanks.

  • I think I understand - set your "call function" and "recieve response" in C2, then tailor your runtime.js file to coincide with these actions.

    I definately agree that while it might be more convenient for the inexperienced coder (like myself) to hard code things in, your taking a better approach.

    There will be plenty of "how do I's" following the release of your plugin - but personally I wouldnt attempt to utilise this without knowing full well that a lot of independant digging would be required.

    The fact that your also providing some of those links as well shows that you are really going over and above. (My expectations at least!)

    Thanks for the update and great work!

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