Search found 286 matches

by alberto_lara
Mon Mar 13, 2017 8:27 pm
Forum: Libraries and Tools
Topic: GÖÖi, an Android-Oriented GUI Library
Replies: 81
Views: 12054

Re: GÖÖi, an Android-Oriented GUI Library

Hey guys just to let you know I just released version 0.0.3 of GÖÖi, the main changes are these: Added multiline labels Now labels can have a text with new line ("\n") characters, multiline alignment works fine now. Added multiline buttons Same for buttons Modal improvements Modals can be created li...
by alberto_lara
Tue Mar 07, 2017 9:59 pm
Forum: Support and Development
Topic: [Solved] Unable to read compressed file
Replies: 9
Views: 159

Re: Unable to read compressed file

Holy crap, thanks for that last comment! It works fine now with this approach: function love.load() dataComp = love.math.compress([[ data = { {[1] = 32432, [2] = 3423}, {[1] = 32432, [2] = 3423}, {[1] = 32432, [2] = 3423}, {[1] = 32432, [2] = 3423}, {[1] = 32432, [2] = 3423}, {[1] = 32432, [2] = 342...
by alberto_lara
Tue Mar 07, 2017 9:26 pm
Forum: Support and Development
Topic: [Solved] Unable to read compressed file
Replies: 9
Views: 159

Re: Unable to read compressed file

Also, for decompressing, there's the fittingly named love.math.decompress that goes with the compress function. I'm aware of this, but I don't really know if this is the right way (I guess not, should I do first the conversion thing? if so, how can I convert that dumped data to a lua table again?) ...
by alberto_lara
Tue Mar 07, 2017 9:16 pm
Forum: Support and Development
Topic: [Solved] Unable to read compressed file
Replies: 9
Views: 159

Re: Unable to read compressed file

I need to read the compressed data and then decompress it, sorry, I didn't mention that. Any ideas of how can I do this?
by alberto_lara
Tue Mar 07, 2017 9:09 pm
Forum: Support and Development
Topic: [Solved] Unable to read compressed file
Replies: 9
Views: 159

Re: Unable to read compressed file

That was the first thing I thought as well, but if you comment this line: print(tostring(love.filesystem.read("test1"))) then you get the "data compressed:" text, so the "ok" flag is = true. The weird thing is, if I try to read the file, then I get no prints, like if "ok" is = false, but if the read...
by alberto_lara
Tue Mar 07, 2017 8:30 pm
Forum: Support and Development
Topic: [Solved] Unable to read compressed file
Replies: 9
Views: 159

[Solved] Unable to read compressed file

Hi guys, I'm not fully familiarized with the math or filesystem API and I'm stuck here: function love.load() dataComp = love.math.compress("dsff sd 87sd f9f7 sd9 fsd") ok = love.filesystem.write("test1", dataComp) if ok then print("data compressed:") print(tostring(love.filesystem.read("test1"))) en...
by alberto_lara
Mon Mar 06, 2017 8:24 pm
Forum: Libraries and Tools
Topic: [Solved] Looking for a ready-to-paint canvas using a shader
Replies: 6
Views: 322

Re: Looking for a ready-to-paint canvas using a shader

It looks I was just confused about the shader, I don't actually need it, the performance I was looking for, you can see it by dragging the mouse here, just canvas logic. thanks anyway!
susse.love
(1.69 KiB) Downloaded 9 times
by alberto_lara
Fri Mar 03, 2017 8:03 pm
Forum: Libraries and Tools
Topic: [Solved] Looking for a ready-to-paint canvas using a shader
Replies: 6
Views: 322

Re: Looking for a ready-to-paint canvas using a shader

I almost forget the pencil API, gonna try that. Thanks!
by alberto_lara
Fri Mar 03, 2017 7:44 pm
Forum: Libraries and Tools
Topic: [Solved] Looking for a ready-to-paint canvas using a shader
Replies: 6
Views: 322

Re: Looking for a ready-to-paint canvas using a shader

I actually did this once but I lost that code, the main reason I did it was because of performance reasons, and I liked what I saw. The only thing which I wasn't able to implement was to erase (make transparent) a part of the canvas. I guess I'll try again, I'll post the result here later so you can...
by alberto_lara
Fri Mar 03, 2017 5:04 pm
Forum: Libraries and Tools
Topic: [Solved] Looking for a ready-to-paint canvas using a shader
Replies: 6
Views: 322

[Solved] Looking for a ready-to-paint canvas using a shader

Hi guys, I want to change some things in Süsse and one of them is to change the "fake" table-based canvas for a real canvas, I think I may be able to figure it out but I wanted to ask here first to see if somebody did something like this before, I mean, a transparent canvas that can be painted with ...