Multiplayer Demo in C2

Show us your completed creations made in Construct 2

Post » Thu Jan 05, 2012 5:38 am

I gotta say, this looks really amazing. I also gotta say, I have no idea how it works or what you're doing. I guess your ultimate goal is to make it so accessible that even people like me can use it! Keep up the great work.
B
20
S
9
G
6
Posts: 607
Reputation: 6,112

Post » Thu Jan 05, 2012 6:00 am

@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
it was a funny one, but red makes mad.

Keep up the good work (but think about sleeping too ^^) this looks pretty awesome.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Post » Thu Jan 05, 2012 6:51 am

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
B
6
S
1
G
1
Posts: 23
Reputation: 833

Post » Thu Jan 05, 2012 6:55 am

Amazing work man, I really can't wait to play with this.
B
32
S
11
G
5
Posts: 71
Reputation: 4,833

Post » Thu Jan 05, 2012 7:09 am

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

[quote]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.[/quote]

Haha, the "feature-adding" syndrom hits you
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.Kyatric2012-01-05 07:09:23
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Post » Thu Jan 05, 2012 9:08 am

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.
ImageImage
B
73
S
16
G
6
Posts: 1,039
Reputation: 10,475

Post » Thu Jan 05, 2012 10:31 pm

@GenkiGenga @HRA @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?

Cheerstalkinghead2012-01-05 22:52:52
B
6
S
1
G
1
Posts: 23
Reputation: 833

Post » Fri Jan 06, 2012 12:02 am

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?
B
29
S
12
G
7
Posts: 740
Reputation: 7,839

Post » Fri Jan 06, 2012 5:28 am

Hey, ive 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.
B
16
S
3
G
6
Posts: 19
Reputation: 3,204

Post » Fri Jan 06, 2012 7:07 am

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!
ImageImage
B
73
S
16
G
6
Posts: 1,039
Reputation: 10,475

PreviousNext

Return to Completed Creations

Who is online

Users browsing this forum: No registered users and 6 guests