TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Multiplayer games
Pages:
1
Multiplayer games
VeGaS
Posts: 14
September 21, 2011, 05:41:28 am
Is it possible to create multiplayer games in StencylWorks? (Internet, LAN...)
coleislazy
Posts: 2607
September 21, 2011, 05:47:02 am
Yes, but it is not easy to do. You could probably use any method you normally would in AS3 (which means lots of code).
VeGaS
Posts: 14
September 21, 2011, 06:00:00 am
Hmm ... is there any tutorials on creating multiplayer games in StencylWorks?
coleislazy
Posts: 2607
September 21, 2011, 07:02:34 am
No, and as far as I know, no one has created a multiplayer game with SW yet. I think there is one in development now, though.
VeGaS
Posts: 14
September 21, 2011, 07:43:20 am
OK, thanks you.
niccosw
Posts: 91
September 21, 2011, 06:04:27 pm
It is possible to make multiplayer games, but it requires coding both on the Stencyl client and server-side. Here is a Stencylpedia article on connecting to a socket server:
http://www.stencyl.com/help/viewArticle/83
Stencyl already has the capability to connect asynchronously with web servers. Check out the GAME:WEB blocks in StencylWorks. You can read about Herby's JSON pack here:
http://community.stencyl.com/index.php/topic,1127.0.html
Xazo-Tak
Posts: 28
September 21, 2011, 07:12:03 pm
Since I don't think I could run a server, is it possible to have the server hosts being everyone who is playing at the time? That might cause complaints unless I add a warning though.
niccosw
Posts: 91
September 21, 2011, 07:37:12 pm
If you don't feel comfortable running a server on your own machine even for testing then you probably shouldn't be making a multiplayer game. Someone has to host the server, even in LAN games. P2P multiplayer is harder than server based which is hard enough.
If you mean you can't host a server because you are on campus, then you will need a remote server which will cost some money.
Xazo-Tak
Posts: 28
September 21, 2011, 07:42:33 pm
Yeah, I don't think I could afford a good server.
P2P multiplayer support in stencyl would solve a lot of problems, since everyone's asking who will be hosting and whether it's paid or not if multiplayer is added. Hmm... TO THE SUGGESTION BOX!
niccosw
Posts: 91
September 21, 2011, 07:59:05 pm
I shouldn't have said that LAN games require a server. That was dumb. They require a host.
I'm going to begin work on a socket server multiplayer kit for the community to use soon. If anyone with programming ability is interested, they can send me a private message. I'll be actively recruiting next week.
Pages:
1