A little suggestion

Discussion and feedback on Construct 2

Post » Tue Jul 01, 2014 2:06 am

I used to have a plan that creating a game server by C2, and maybe it's work somehow.
But maybe supporting mysql will be better, just a little suggestion, to make C2 powerful.

:mrgreen: :mrgreen:
B
5
Posts: 17
Reputation: 261

Post » Tue Jul 01, 2014 5:55 am

Sorry SwirlYip, but it looks like the only way to access MySQL from Javascript is through server-side PHP scripts: http://stackoverflow.com/questions/3020 ... with-mysql :(
"Construct 4 lets YOU make advanced games! (but not play them)" Construct Classic - Examples Kit Dropbox is a pile of trash and if you need my old files PM me! :)
B
124
S
42
G
17
Posts: 2,225
Reputation: 19,887

Post » Tue Jul 01, 2014 6:16 am

I just want to create a server by C2.
Now that it seems impossible?
B
5
Posts: 17
Reputation: 261

Post » Tue Jul 01, 2014 6:45 am

A MySQL server? no, that's not possible.

A multiplayer game server? Yes, that's possible through the built-in multiplayer object. Here's some tutorials on using it:

https://www.scirra.com/tutorials/892/mu ... 1-concepts

https://www.scirra.com/tutorials/906/mu ... -chat-room

https://www.scirra.com/tutorials/979/mu ... ial-3-pong

https://www.scirra.com/tutorials/915/mu ... -time-game
"Construct 4 lets YOU make advanced games! (but not play them)" Construct Classic - Examples Kit Dropbox is a pile of trash and if you need my old files PM me! :)
B
124
S
42
G
17
Posts: 2,225
Reputation: 19,887

Post » Tue Jul 01, 2014 4:07 pm

In the Multiplayer Beta additional features like storing data, achievements and playerstats on the server were mentioned. Is this still coming?
Bl4ckSh33p-Soft - Custom Software and Indie Games
B
56
S
17
G
6
Posts: 748
Reputation: 9,420

Post » Wed Jul 02, 2014 1:36 am

Message: SwirlYip is not yet permitted to post plain text URLS (300 rep required). 4 URLS removed. Why?
Jayjay wrote:A MySQL server? no, that's not possible.

A multiplayer game server? Yes, that's possible through the built-in multiplayer object. Here's some tutorials on using it:


I not the multiplayer object can create a multiplayer game.But as the tutorial said, the server is Scirra offical server. I want to build a server on my own server. That I can manager player like online games.

So please, how can I do that?
B
5
Posts: 17
Reputation: 261

Post » Wed Jul 02, 2014 2:06 am

the Scirra official server is just used for other players to find your game, it's like a master server list. You still code your "server" for your game and code your own way to manage the players. As long as your server is always running, you will be the only person who can control the server.
"Construct 4 lets YOU make advanced games! (but not play them)" Construct Classic - Examples Kit Dropbox is a pile of trash and if you need my old files PM me! :)
B
124
S
42
G
17
Posts: 2,225
Reputation: 19,887

Post » Wed Jul 02, 2014 2:22 am

Jayjay wrote:the Scirra official server is just used for other players to find your game, it's like a master server list. You still code your "server" for your game and code your own way to manage the players. As long as your server is always running, you will be the only person who can control the server.


Really thanks for answering, but I am not sure if I am totally understand.
Like how do I manager the server and game for the signalling server is not my server, and not under my control??
B
5
Posts: 17
Reputation: 261

Post » Wed Jul 02, 2014 2:25 am

Jayjay wrote:the Scirra official server is just used for other players to find your game, it's like a master server list. You still code your "server" for your game and code your own way to manage the players. As long as your server is always running, you will be the only person who can control the server.


Maybe the root of this question is, what is signalling server??
To be honest, it's the first time I've heard about it.
B
5
Posts: 17
Reputation: 261

Post » Wed Jul 02, 2014 2:45 am

Signalling server is the central point clients connect to in order to re-direct to your game server. I don't know if you can make one yourself, but there is no need to do that as it merely allows players to join your server.

All things that happen regarding the game itself are on your server, or if you allow people to host their own servers then through them.

I take it you're trying to do something like an MMO?
"Construct 4 lets YOU make advanced games! (but not play them)" Construct Classic - Examples Kit Dropbox is a pile of trash and if you need my old files PM me! :)
B
124
S
42
G
17
Posts: 2,225
Reputation: 19,887

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests