Search found 86 matches

by ingsoc451
Sun Oct 13, 2019 9:44 pm
Forum: Libraries and Tools
Topic: svg rendering with nanosvg
Replies: 3
Views: 5389

Re: svg rendering with nanosvg

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

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 ingsoc451
Tue Oct 08, 2019 4:22 pm
Forum: Games and Creations
Topic: Croque - A practise tool for drawings
Replies: 2
Views: 3176

Re: Croque - A practise tool for drawings

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

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 ingsoc451
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: 429

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 v == self...
by ingsoc451
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: 13
Views: 1245

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
by ingsoc451
Fri Sep 27, 2019 5:05 pm
Forum: Libraries and Tools
Topic: Template for using Löve as if it were not event-oriented
Replies: 13
Views: 1245

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

From the image, it looks like it also optimizes the path
by ingsoc451
Fri Sep 27, 2019 5:04 pm
Forum: General
Topic: How to create an animation from a .png image (without quads)?
Replies: 6
Views: 473

Re: How to create an animation from a .png image (without quads)?

move image y coord to y + 10
setColor from {1,1,1,1} to {1,1,1,0} before drawing the image

you can probably use https://github.com/kikito/tween.lua
(note: image may not appear smooth with non integer y-coord)
by ingsoc451
Mon Sep 23, 2019 9:25 pm
Forum: General
Topic: Distributing lua files
Replies: 21
Views: 1350

Re: Distributing lua files

It is understandable if you want to hide your code. It is really stressful when other people see your code and criticize it.
by ingsoc451
Thu Sep 19, 2019 10:58 am
Forum: Games and Creations
Topic: Chessboard
Replies: 19
Views: 3485

Re: Chessboard

window title can contain if black or white should move