Online game example

Show off your games, demos and other (playable) creations.
Post Reply
Mkalo
Prole
Posts: 11
Joined: Thu Dec 29, 2011 11:54 pm

Online game example

Post by Mkalo »

I did not find any online games in the forum, so I decided to make this simple game
Need two people to work online, and the IPs are configured in main.lua

You click on the screen and shows a "gout" on your screen and your friend.

I'm not very good in lua and in English, I do my best :(
Online Example.love
(854 Bytes) Downloaded 324 times
Bomberman in LÖVE:
http://migre.me/7Beiu
User avatar
Ensayia
Party member
Posts: 399
Joined: Sat Jun 12, 2010 7:57 pm

Re: Online game example

Post by Ensayia »

How do you connect to another player? I'm assuming this just lets you see each other's 'pings'.
Mkalo
Prole
Posts: 11
Joined: Thu Dec 29, 2011 11:54 pm

Re: Online game example

Post by Mkalo »

Don't have connections in udp, just send datagrams to the FriendIP in port PORT locateds in main.lua
Bomberman in LÖVE:
http://migre.me/7Beiu
spirulence
Prole
Posts: 8
Joined: Tue Sep 21, 2010 8:27 pm

Re: Online game example

Post by spirulence »

Need some friends to test this with now!

I had not before realized that LuaSocket was included with LOVE - I had always thought you needed to unpack additional library files into the LOVE install directory or something. I wonder what else you are hiding, LOVE...
Post Reply

Who is online

Users browsing this forum: No registered users and 155 guests