Search found 65 matches

by HDPLocust
Tue Mar 08, 2016 9:01 am
Forum: General
Topic: Post-0.10.0 feature wishlist
Replies: 177
Views: 91803

Re: Post-0.10.0 feature wishlist

folder dialog box. https://bitbucket.org/rude/love/issues/985/add-an-open-file-popup-dialog-function I mean love.filesystem.getDirectoryItems('global path') for custom folder dialog boxes, love.graphics.newImage('global path') for load image, also music and other. Now i use FFI (<dirent> lib) for f...
by HDPLocust
Mon Mar 07, 2016 3:07 am
Forum: General
Topic: Post-0.10.0 feature wishlist
Replies: 177
Views: 91803

Re: Post-0.10.0 feature wishlist

I want to change the module love.filesystem, to use it with global paths. Map editors, custom applications, etc. require LFS or a similar library to make, for example, folder dialog box. Now i use FFI for global folder listing and other IO things. Also, the particle system would be more manageable. ...
by HDPLocust
Mon Jan 04, 2016 3:25 am
Forum: General
Topic: 8 Bit / Pixel Shaders
Replies: 3
Views: 4351

Re: 8 Bit / Pixel Shaders

You can use this pixelisation shader: shader = love.graphics.newShader [[ extern vec2 size; //vector contains image size, like shader:send('size', {img:getWidth(), img:getHeight()}) extern number factor; //nimber contains sample size, like shader:send('factor', 2), use number is divisible by two vec...
by HDPLocust
Sun Dec 13, 2015 4:59 am
Forum: Support and Development
Topic: Sending LÖVE userdata through the channel in 0.9.2
Replies: 4
Views: 2085

Re: Sending LÖVE userdata through the channel in 0.9.2

Are you sure it doesn't draw a single frame before you overwrite it again? Yes. Program crashes in marked point. I write to log every successful action. (Crash like 'do you want to send info by this error to Microsoft?') Note that you have to explicitly load all modules you'll use in the thread's c...
by HDPLocust
Sat Dec 12, 2015 2:55 am
Forum: Support and Development
Topic: Sending LÖVE userdata through the channel in 0.9.2
Replies: 4
Views: 2085

Sending LÖVE userdata through the channel in 0.9.2

Hello. >Wiki: The value of the message can be a boolean, string, number, LÖVE userdata , or a simple flat table. I can't send image through the channels. If i use code like this: f_tread = function (image) love.thread.getChannel("channel"):push(image) end function love.load() image = love....