Search found 85 matches

by EliterScripts
Tue Jan 22, 2019 5:11 am
Forum: General
Topic: Lua Enet IPv6
Replies: 12
Views: 10402

Re: Lua Enet IPv6

Hello, I have looked further into Luasocket, and I have been able to successfully get a client to connect to the server by looking at some of the client/server examples on the Internet. However, I cannot seem to grasp how it all works. I am thinking I will use TCP for my game. It will be a very fast...
by EliterScripts
Thu Dec 27, 2018 11:01 pm
Forum: General
Topic: Lua Enet IPv6
Replies: 12
Views: 10402

Re: Lua Enet IPv6

Like, is there any libraries/solutions that are similar to lua-enet that support IPv6?
by EliterScripts
Thu Dec 27, 2018 10:42 pm
Forum: General
Topic: Using io.read() without halting the game
Replies: 3
Views: 4943

Re: Using io.read() without halting the game

You can use a raw TCP socket if you want non-blocking keyboard input, useful if you don't want to create a new thread just to handle that. I can provide more details if you're interested, but you basically have to create a new TCP socket and set its file descriptor to 0; you can then use luasocket'...
by EliterScripts
Wed Dec 19, 2018 3:52 pm
Forum: General
Topic: Running LOVE2D on Linux without Install
Replies: 1
Views: 3096

Running LOVE2D on Linux without Install

So I would really think it would be cool is if I could give my Linux users a copy of my game without them having to install LOVE2D. Now, I remember a while back (back when I still used Windows on a daily basis), I was able to slap all the LOVE2D libraries inside of a .love file and get it into a '.e...
by EliterScripts
Wed Dec 19, 2018 3:04 pm
Forum: General
Topic: Sending Sounds over the network
Replies: 6
Views: 3530

Re: Sending Sounds over the network

@zorg, I really don't understand what you were doing there, but I tried using this code: function love.load() devices = love.audio.getRecordingDevices( ) for k,v in pairs(devices)do print("device: " .. v:getName() ) print("is recording: " .. tostring( v:isRecording()) ) end devic...
by EliterScripts
Wed Dec 19, 2018 11:56 am
Forum: General
Topic: Sending Sounds over the network
Replies: 6
Views: 3530

Sending Sounds over the network

Hello, I am interested in having players be able to talk to each other online with their microphones. I would need to be able to get the microphone input into a string, push the string over the network, then have the guy at the other turn the string into SoundData/Source then play it on his end. How...
by EliterScripts
Wed Dec 19, 2018 5:56 am
Forum: General
Topic: Lua Enet IPv6
Replies: 12
Views: 10402

Re: Lua Enet IPv6

I believe in Internet freedom, and I believe that a major part of true Internet freedom is supporting IPv6 to the fullest obtainable extent, that I must do my part to support IPv6 in this world.

How would I go about replacing my existing code for Lua-enet for code that works with IPv6?
by EliterScripts
Mon Dec 17, 2018 11:05 am
Forum: General
Topic: Lua Enet IPv6
Replies: 12
Views: 10402

Lua Enet IPv6

Simple question: does Lua Enet support IPv6? If so, can I get some example code just to make sure there is nothing different?
by EliterScripts
Mon Dec 17, 2018 11:04 am
Forum: General
Topic: Channel multiple messages?
Replies: 1
Views: 2077

Channel multiple messages?

So the Wiki documentation on thread channels are quite confusing. I have ran into a situation where I need to push information into a channel without halting the channel, so I use Channel:push(value). However, in the event that the thread is ready to push another value into the same channel before i...
by EliterScripts
Mon Dec 17, 2018 6:42 am
Forum: General
Topic: World:getBodyList Wiki Documentation
Replies: 0
Views: 2920

World:getBodyList Wiki Documentation

In the LOVE2D wiki, there was no deprecation notice for https://love2d.org/wiki/World:getBodyList until I added one. It's probably the wrong version too. Also, there is now now a new page for the new World method, https://love2d.org/wiki/World:getBodies but it does not have a added-in version on the...