Multiplayer Questions (Yet again!)

Get help using Construct 2

Post » Tue Dec 25, 2012 11:40 pm

If you want the players to host their own servers, which is a smart idea (keeping the high server costs in mind), then you can not use something like node.js. At least I don't think you can.

And you can not host a server on your personal computer. If you are planning to build a popular game with, let's say about 2000 players, you need a very very expensive server to handle the big amount of traffic, which you will get with a complex game. If you would host the server on your personal computer, you wouldn't be able to run the server 24/7.Astrosus2012-12-25 23:41:34
B
8
S
2
Posts: 110
Reputation: 1,463

Post » Wed Dec 26, 2012 12:04 am

I see... If I can't use node.js, then what do I go with?
B
29
S
7
G
3
Posts: 361
Reputation: 6,187

Post » Wed Dec 26, 2012 12:05 am

Thanks!
B
29
S
7
G
3
Posts: 361
Reputation: 6,187

Post » Wed Dec 26, 2012 12:42 am

I searched for you and found something very interesting.

http://www.scirra.com/forum/yetanother-multiplayer-demo_topic51622.html

It basically is exactly what you wanted. See if you can get it to work. I can not get it to work. If you have success please contact me, a multiplayer game is my childhood dream Astrosus2012-12-26 00:46:30
B
8
S
2
Posts: 110
Reputation: 1,463

Post » Wed Dec 26, 2012 1:29 am

If I were you I would first try to build a working server on your own PC. Then when you got something working, and are ready to move onto alpha testing start small and rent a VPS (virtual private server). If you shop around you can usually find one for under $40 per month. Then as your game gets big, you can upgrade as needed.

If node.js isn't working out you could always try to build a PHP, and MySQL server. These have been around for many years now, and Ashley has made Construct 2 very capable of using php, and MySQL as a back-end.
B
50
S
11
G
8
Posts: 479
Reputation: 9,911

Post » Wed Dec 26, 2012 4:58 am

I can't wait until I'm smart enough to understand servers. That's going to be an awesome day.

Thanks for the info guys, I'll keep checking back.havenrocket2012-12-26 04:59:13
Everybody got to come out of the closet... does that mean I'm allowed to come out of the corner? Is that even funny anymore? Do parents still make their kids stand in corners when they mouth off?? These are the questions that keep me out of the really good schools.

havenisle.net
B
11
S
3
G
3
Posts: 27
Reputation: 2,695

Post » Wed Dec 26, 2012 2:43 pm

@Astrosus After several hours of figuring out the events and creating a multiplayer mode on my game, I'm almost done, I'll tell you when I test it out!
B
29
S
7
G
3
Posts: 361
Reputation: 6,187

Post » Wed Dec 26, 2012 2:48 pm

Thanks! I really appreciate your help, can't wait to test and implement it to my game!
B
8
S
2
Posts: 110
Reputation: 1,463

Post » Wed Dec 26, 2012 4:54 pm

@Astrosus Okay I almost got it working, the login and the lobby work perfectly, but the start game button doesn't work, so Im gonna try to figure that out (with the help of rex, of course).
B
29
S
7
G
3
Posts: 361
Reputation: 6,187

Previous

Return to How do I....?

Who is online

Users browsing this forum: selaus and 0 guests