Search found 79 matches

by Ikroth
Mon May 21, 2018 3:58 pm
Forum: General
Topic: Status of Multiplayer Mobile Networking
Replies: 21
Views: 16911

Re: Status of Multiplayer Mobile Networking

I don't know any sock.lua, but if it's using enet from before 0.11 nightlies, then it might still expect enet to set a global variable (called enet) and expects it to work like that; it doesn't anymore, that was bad coding style. You can check and just edit it so it'll be a file-local instead. I th...
by Ikroth
Thu May 17, 2018 10:03 pm
Forum: Libraries and Tools
Topic: Peachy - Aseprite animations
Replies: 8
Views: 11926

Re: Peachy - Aseprite animations

Nice! I've been thinking about writing a tool just like this, but you beat me to the punch. I am looking forward to trying it out. We use Aseprite for a lot of our games but just use the regular spritesheets at the moment.
by Ikroth
Tue Nov 21, 2017 9:09 pm
Forum: Libraries and Tools
Topic: Shaderview - A tool for writing GLSL shaders
Replies: 1
Views: 4471

Shaderview - A tool for writing GLSL shaders

Shaderview GitHub | Issue Tracker | Changelog Shaderview is a desktop application for developing GLSL shaders using Lua, LÖVE2D, and GLSL. It features integrated debug tools, hot reloading, and compilation error handling. Shaderview is under active development and I am looking for feedback, advice,...
by Ikroth
Fri Jul 28, 2017 5:20 am
Forum: General
Topic: Trying the new stuff in 0.11.0
Replies: 40
Views: 29712

Re: Trying the new stuff in 0.11.0

You didn't showcase the most important aspect - mixing. You don't have direct mixer control but you can mix wet, dry and filtered signals by adjusting corresponding volume levels. When you leave all levels at 100% you get 50/50 dry to wet ratio. You can get 100% wet if you set direct filter volume ...
by Ikroth
Fri Jul 28, 2017 1:11 am
Forum: General
Topic: Trying the new stuff in 0.11.0
Replies: 40
Views: 29712

Re: Trying the new stuff in 0.11.0

I made a video for a friend a while ago that showed raidho's audio demo which briefly covers all of the audio effects. It captures the gist of what you can do with some of the new audio APIs.

by Ikroth
Tue Jul 11, 2017 10:40 pm
Forum: Libraries and Tools
Topic: sock.lua - A simple networking library for LÖVE
Replies: 80
Views: 72985

Re: sock.lua - A simple networking library for LÖVE

I believe that, once you've yielded the coroutine... I'm using love.thread rather than coroutines. Actually, there's no way to kill a server too - no server:stop() or any other equivalent. Not sure nilling will do the job and underlying eNet will acknowledge the fact that the nilled server is no mo...
by Ikroth
Sun Jun 25, 2017 11:08 pm
Forum: Libraries and Tools
Topic: sock.lua - A simple networking library for LÖVE
Replies: 80
Views: 72985

Re: sock.lua - A simple networking library for LÖVE

It sounds like you want to use xpcall ( https://www.lua.org/manual/5.2/manual.html#pdf-xpcall ) to handle the error. NOTE: I have linked the Lua 5.2 docs for xpcall. Lua 5.1 does not support passing arguments through xpcall, but 5.2 does and LuaJIT (which LÖVE runs on) has ported this feature. local...
by Ikroth
Sat Jun 24, 2017 10:26 pm
Forum: Libraries and Tools
Topic: sock.lua - A simple networking library for LÖVE
Replies: 80
Views: 72985

Re: sock.lua - A simple networking library for LÖVE

klis wrote: Sat Jun 24, 2017 2:53 pm How can I handle a invalid host name?.
Can you post your code? Or at least the code that causes the error? (I'm assuming this will be a call to newServer or newClient)
by Ikroth
Fri Jun 16, 2017 7:09 pm
Forum: Libraries and Tools
Topic: sock.lua - A simple networking library for LÖVE
Replies: 80
Views: 72985

Re: sock.lua - A simple networking library for LÖVE

Yes, the minimum amount of code needed to cause the error is this: local sock = require("lib/networking/sock") local server = sock.newServer(my_ip_here, 27015) where my_ip_here is a string that is my public ip address. What operating system are you running? Did you try running as administ...
by Ikroth
Fri Jun 16, 2017 4:50 am
Forum: Libraries and Tools
Topic: sock.lua - A simple networking library for LÖVE
Replies: 80
Views: 72985

Re: sock.lua - A simple networking library for LÖVE

What's the minimum amount of code that reproduces it? Does it break if you have a main.lua that only calls newServer?