Hi I need help with Enet

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
Kripis
Prole
Posts: 5
Joined: Sun Jul 07, 2013 10:08 pm

Hi I need help with Enet

Post by Kripis »

So I was wondering if anyone could show me a little working example of like two squares moving around one being me and the other one being some other player, this would help me a lot on my quest of making a game, thanks
szensk
Party member
Posts: 155
Joined: Sat Jan 19, 2013 3:57 am

Re: Hi I need help with Enet

Post by szensk »

Simply run server.love, then run client.love one or more times. Each time you run client, another circle will appear. Arrows to move (when in a client window).
You may want to serialize by a method other than Lua tables (such as JSON).
Attachments
client.love
(4.13 KiB) Downloaded 315 times
server.love
(3.81 KiB) Downloaded 298 times
Kripis
Prole
Posts: 5
Joined: Sun Jul 07, 2013 10:08 pm

Re: Hi I need help with Enet

Post by Kripis »

thanks a lot
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests