Search found 472 matches

by milon
Thu Dec 08, 2022 2:21 pm
Forum: General
Topic: How to test if to lines intersect
Replies: 13
Views: 6331

Re: How to test if to lines intersect

Rosetta Code is also a good resource: https://rosettacode.org/wiki/Find_the_i ... _lines#Lua
by milon
Thu Dec 08, 2022 2:05 pm
Forum: Libraries and Tools
Topic: Love2D builder
Replies: 68
Views: 217452

Re: Love2D builder

Where did the AppImage come from, or did you make it (and how)? From the previous post above. So, extracted from my .zip then. Strange. The icon shows up for me, but not for others. Dusoft, what OS are you running? Can any other Linux users test the icon status? What happens after running the AppIm...
by milon
Mon Dec 05, 2022 7:28 pm
Forum: Libraries and Tools
Topic: Love2D builder
Replies: 68
Views: 217452

Re: Love2D builder

dusoft wrote: Sun Dec 04, 2022 7:12 pm It works/runs, but only default icon is shown.
Where did the AppImage come from, or did you make it (and how)?
by milon
Fri Dec 02, 2022 8:31 pm
Forum: Libraries and Tools
Topic: Love2D builder
Replies: 68
Views: 217452

Re: Love2D builder

I am a relative newbie when it comes to Linux so thank you for the help. According to the Love2D wiki: https://love2d.org/wiki/Game_Distribution#Distribution_for_Linux If you need to change the icon, place your PNG (SuperGame.png for example) or SVG (SuperGame.svg) icon beside love.desktop and modi...
by milon
Mon Nov 28, 2022 9:55 pm
Forum: Libraries and Tools
Topic: Love2D builder
Replies: 68
Views: 217452

Re: Love2D builder

I will need further assistance to get the icons working across platforms. Looks like the default icon doesn't even work with the official Linux distro of Love2D. Thank you for the help, Ivan I did a little poking around, and this (old!) post says that Linux doesn't actually support embedded icons. ...
by milon
Tue Nov 22, 2022 5:12 pm
Forum: Support and Development
Topic: How do I make a shader that changes white pixels to green?
Replies: 2
Views: 1283

Re: How do I make a shader that changes white pixels to green?

Another option, potentially faster (untested), is to streamline the color test: if (c.r + c.g + c.b >= 3.0) { // you can set a threshold by changing 3.0 to a lower value like 2.7 or so c.r = 0.0; c.g = 0.0; c.b = 1.0; // don't forget decimal notation for color values! And it's a good idea to set gre...
by milon
Tue Nov 22, 2022 4:50 pm
Forum: Support and Development
Topic: Mobile support
Replies: 3
Views: 1321

Re: Mobile support

fridays18 wrote: Sat Nov 19, 2022 3:26 pm ... basically when clicked turn a var to true than after a set amount of time set to false which is pretty buggy...
We can help with that too. Make a separate thread for it if you haven't already.
by milon
Tue Nov 15, 2022 4:40 pm
Forum: Libraries and Tools
Topic: setColor Hexadecimal snippet
Replies: 8
Views: 7421

Re: setColor Hexadecimal snippet

darkfrei wrote: Tue Nov 15, 2022 3:49 pm Simple function ...
Ten years is a long time, ya know ;)
Is there a context you'd like to share with the rest of the class?
by milon
Wed Nov 09, 2022 4:20 pm
Forum: General
Topic: How to make curvy lasers
Replies: 8
Views: 4645

Re: How to make curvy lasers

You could fake it with multiple overlapping segments made up of small sprites (circular bullets for example), probably less computationally expensive in most cases, compared to evaluating bezier curves i believe. Don't really understand the "fake it" method so for now I'll try the lightni...
by milon
Tue Nov 08, 2022 8:58 pm
Forum: Games and Creations
Topic: A party management game with gnomes and airships
Replies: 4
Views: 5041

Re: A party management game with gnomes and airships

I haven't tried it yet (may not have time until next week), but I must say I love the UI & graphics you've got there. It looks super clean & intuitive! :D EDIT - I found a few minutes to tinker with it. It really needs a tutorial or something, as well as being able to track how many actions ...