Can you make a online multiplayer game?

Get help using Construct 2

Post » Sat Dec 14, 2013 5:38 pm

Hi ppl,
Can you make a online multiplayer game via Facebook to play with friends?

Most the forums I checked are MMOS but I mean online multiplayer with your friends so its not a game like WoW but more like a up to 4 players aka friends playing at the same time like playing a multiplayer on a console with friends (using additional remotes) but instead online. I heard of something called scribblehost.ws that allows multiplayer and may be compatible with C2.

Thanks

P.S.Answers would really help me improve my project.
B
10
S
2
Posts: 11
Reputation: 654

Post » Sat Dec 14, 2013 5:44 pm

yes its possible.
B
18
S
6
G
3
Posts: 197
Reputation: 4,129

Post » Sat Dec 14, 2013 5:55 pm

Thank you but how?
B
10
S
2
Posts: 11
Reputation: 654

Post » Sat Dec 14, 2013 6:01 pm

#websockets FTW!
http://www.youtube.com/watch?v=YiTPVBnf8Es&feature=player_embedded
My game Petrolhead Tactics is now on Steam Greenlight. I could not have done this without C2 ? Please rate, if you like!

Steam client already open: petrolheadtactics.com/steam
Web: petrolheadtactics.com/greenlight
B
20
S
4
G
4
Posts: 132
Reputation: 4,130

Post » Sat Dec 14, 2013 8:49 pm


Oops!
I already know that video BUT can I have a tutorial of how to do it.

Sorry if I am such a bother to you guys!
B
10
S
2
Posts: 11
Reputation: 654

Post » Sun Dec 15, 2013 4:25 am

dude the video is a tutorial of exactly how to do it..
Made Cosmochoria - www.cosmochoria.com
Currently working on Slayaway Camp - www.slayawaycamp.com
B
27
S
8
G
3
Posts: 384
Reputation: 5,020

Post » Sun Dec 15, 2013 6:01 pm

You could create a multiplayer-like game using PHP, MYSQL and AJAX.

The concept is to store the players information (x and y axis, and possible their angles?) inside a MYSQL database.

In order to achieve this, you send an AJAX post to your webserver with a PHP file posting the current position of player and their angle to a MYSQL database.

On the other hand, you can call an AJAX request to a PHP file bringing in the new values of players x and y axis and their angle, giving the multiplayer-like effect.

This coupled with a simple login feature, you could have the basis for a simplistic online game.

As you said Facebook, using the Facebook plugin feature, you can store the players Facebook ID, which is unique and you can use that to store a players information.

Example:

ID: 1 (primary key, auto increment)
Player ID (Facebook ID) (unique key)
X_Position: 650
Y_Position: 190
Angle: 90

The above could be your MYSQL database layout.GameThirsty2013-12-15 18:07:15
B
17
S
6
Posts: 348
Reputation: 2,608

Post » Sat Jan 04, 2014 10:02 am

Thanks and sorry for late reply
B
10
S
2
Posts: 11
Reputation: 654

Post » Sat Jan 04, 2014 10:04 am

I read Gamethirstys post but i am a frikkin idiot and dont really understand. Is there any way of making a small capx file to represnt all of what you just said?
B
10
S
2
Posts: 11
Reputation: 654

Post » Sat Jan 04, 2014 10:31 am

Here is a tutorial   It also has a capx.

But mind you, its not the most simple thing to do if you are relative new to consstruct 2.
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,562

Next

Return to How do I....?

Who is online

Users browsing this forum: Sparkz and 2 guests