Search found 188 matches

by monolifed
Wed Dec 04, 2019 9:42 am
Forum: Libraries and Tools
Topic: iffy: A spritesheet helper library
Replies: 4
Views: 7690

Re: iffy: A spritesheet helper library

You only need to convert it one time. It looks like it converts it everytime
by monolifed
Tue Dec 03, 2019 5:14 pm
Forum: Libraries and Tools
Topic: iffy: A spritesheet helper library
Replies: 4
Views: 7690

Re: iffy: A spritesheet helper library

Here something I used while working with Kenney's sprite sheets. It converts the specific xml format to a lua table
by monolifed
Sat Nov 23, 2019 9:50 pm
Forum: Support and Development
Topic: Is it possible to make a file explorer?
Replies: 6
Views: 5160

Re: Is it possible to make a file explorer?

Quite possible but for a random location (that is outside love's reach) you might need to use a lua library to get files in a folder.
Another option is calling system commands like find/ls/dir via popen and capturing their output.
by monolifed
Wed Nov 20, 2019 7:10 pm
Forum: Libraries and Tools
Topic: bsgtimer
Replies: 6
Views: 8387

Re: bsgtimer

I made the mistake of reading the source code, it was awful:
rewrote most of it
reduced .love file size by generating textures
added moonshine glow shader

edit: I noticed that I had posted this on the wrong category. (it took only 3.5 years)
by monolifed
Sun Oct 13, 2019 9:44 pm
Forum: Libraries and Tools
Topic: svg rendering with nanosvg
Replies: 3
Views: 11146

Re: svg rendering with nanosvg

Modified it further and added on github
by monolifed
Tue Oct 08, 2019 4:47 pm
Forum: General
Topic: Lua encoding
Replies: 13
Views: 11181

Re: Lua encoding

Some game companies release their source code after a while. Some of them are big titles. But I don't remember any notable project using their source code.
So releasing the source code might be the best way to discourage people who are constantly trying to steal your code.
by monolifed
Tue Oct 08, 2019 4:22 pm
Forum: Games and Creations
Topic: Croque - A practise tool for drawings
Replies: 2
Views: 7510

Re: Croque - A practise tool for drawings

If you add a license it(croque) would be more useful
by monolifed
Tue Oct 01, 2019 2:46 pm
Forum: General
Topic: loveframes column list selecting
Replies: 3
Views: 3166

Re: loveframes column list selecting

https://github.com/linux-man/LoveFrames ... t.lua#L562
it doesn't pass index k to onrowselected. You might do this:

Code: Select all

onrowselected(self, row, row:GetColumnData(), k)
You might try using love's colored texts:

Code: Select all

text = {{1,0,0}, "red text"}
by monolifed
Tue Oct 01, 2019 2:11 pm
Forum: Support and Development
Topic: Find the order of the object itself in a table?
Replies: 7
Views: 3749

Re: Find the order of the object itself in a table?

you might set frog status to dead then you can clean then at once (you can also copy alive ones to a new table) for i=#listofrogs, 1, -1 do if listofrogs[i].status == "dead" then remove(listofrogs, i) end end or since self points to your frog you can do for k, v in ipairs(listofrogs) do if...
by monolifed
Sat Sep 28, 2019 8:46 am
Forum: Libraries and Tools
Topic: Template for using Löve as if it were not event-oriented
Replies: 16
Views: 17357

Re: Template for using Löve as if it were not event-oriented

I see that is a mathematical maze solver I was thinking about something like this:
https://www.youtube.com/watch?v=LAYdXIREK2I