Multiplayer LAN tutorial

Hi, I was wondering if anyone knows of a good tutorial that would help me get multiplayer for up to 4 players working in my game. I currently have it working in hotseat mode, where players can hand the same device back and forth, but I need to get it working over a LAN as well.

Depending on the final pricing of corona cloud, I will likely make that a third option, but since it’s going to cost money, I can’t depend on it solely for a mutliplayer solution.
[import]uid: 170004 topic_id: 36116 reply_id: 336116[/import]

Have you checked out AutoLAN from M.Y.Developers? I bought it way back when, but he has since made it free and posted on the Code Exchange.

For local multiplayer, it works rather well. Over the internet, you’d need to host your own server.

http://developer.coronalabs.com/code/autolan
Lastly, until Corona Cloud is in place, there’s always PubNub. It’s over-the-internet only, and you only have to pay for packets sent and received.

http://www.pubnub.com
https://github.com/pubnub/pubnub-api/tree/master/lua-corona [import]uid: 6084 topic_id: 36116 reply_id: 145794[/import]

Have you checked out AutoLAN from M.Y.Developers? I bought it way back when, but he has since made it free and posted on the Code Exchange.

For local multiplayer, it works rather well. Over the internet, you’d need to host your own server.

http://developer.coronalabs.com/code/autolan
Lastly, until Corona Cloud is in place, there’s always PubNub. It’s over-the-internet only, and you only have to pay for packets sent and received.

http://www.pubnub.com
https://github.com/pubnub/pubnub-api/tree/master/lua-corona [import]uid: 6084 topic_id: 36116 reply_id: 145794[/import]

Another library for multiplayer is Noobhub. Its free and opensource

http://forums.coronalabs.com/topic/32775-noobhub-free-opensource-multiplayer-and-network-messaging-for-coronasdk/

I was looking into Noobhub and wanted to go with it, still may have to since it seems like CoronaCloud isn’t going to serve all my needs, the problem is that making noobhub do what I need, ie game lobby, chat, etc, is beyond my skill level right now.  I wish there was a solid tutorial because I learn by example.

I would need some sort of tutorial that shows how to handle log in and registration, then how to create a main lobby listing all pending games, then how to make a game, in which people can join, and chat in while waiting to play.

Even if it just shows some of that, I would have someplace to start.  :(

It seems like cloud isn’t going to let me store my game data files, json files, centrally and allow each player on there turn to load the updated files, and save them back after there turn is complete, so I’m scratching my head and may need to try and get noobhub working for me.

Another library for multiplayer is Noobhub. Its free and opensource

http://forums.coronalabs.com/topic/32775-noobhub-free-opensource-multiplayer-and-network-messaging-for-coronasdk/

I was looking into Noobhub and wanted to go with it, still may have to since it seems like CoronaCloud isn’t going to serve all my needs, the problem is that making noobhub do what I need, ie game lobby, chat, etc, is beyond my skill level right now.  I wish there was a solid tutorial because I learn by example.

I would need some sort of tutorial that shows how to handle log in and registration, then how to create a main lobby listing all pending games, then how to make a game, in which people can join, and chat in while waiting to play.

Even if it just shows some of that, I would have someplace to start.  :(

It seems like cloud isn’t going to let me store my game data files, json files, centrally and allow each player on there turn to load the updated files, and save them back after there turn is complete, so I’m scratching my head and may need to try and get noobhub working for me.