Search found 53 matches

by Connorses
Thu Sep 23, 2021 7:41 pm
Forum: Support and Development
Topic: Can love2D detect keypresses when unfocused?
Replies: 3
Views: 2202

Can love2D detect keypresses when unfocused?

I would like to press a key and have my love2D program respond without me first focusing the love2D window by clicking it. Would be useful for, say, a livestream visual that I can alter with a key press.
by Connorses
Fri Aug 21, 2020 4:26 am
Forum: Support and Development
Topic: Catch a failed math.triangulate without crashing?
Replies: 3
Views: 1280

Re: Catch a failed math.triangulate without crashing?

Thanks for the help! I wound up using a pcall to catch it.
Perhaps I'll look into other triangulate options in the future, but for now Love's seems to work.
by Connorses
Tue Aug 18, 2020 9:41 pm
Forum: Support and Development
Topic: Catch a failed math.triangulate without crashing?
Replies: 3
Views: 1280

Catch a failed math.triangulate without crashing?

This one's pretty straightforward. I would like to be able to call triangulate without the game crashing if it fails. Failing that, I'd like to be able to test whether my points can be triangulated or not (I want the user to be able to draw polygons without crashing the game).
by Connorses
Sun Jul 19, 2020 4:49 pm
Forum: Support and Development
Topic: Transparent Windows in Love2D
Replies: 1
Views: 1486

Transparent Windows in Love2D

Specifically, I'm looking for a solution that allows per-pixel transparency of a borderless window. I'm aiming to make a virtual desktop pet. I am aware that this was discussed in a couple of previous threads, so I guess I just want an update for the year 2020. p.s. As much as it pains me, I'm open ...
by Connorses
Fri Feb 02, 2018 1:45 am
Forum: Libraries and Tools
Topic: [Lib] SUIT - Simple User Interface Toolkit
Replies: 81
Views: 65075

Re: [Lib] SUIT - Simple User Interface Toolkit

Just want to say thanks, "Immediate Mode" is a great way to insert or remove UI elements arbitrarily and I've been using SUIT to help build my own level editor.
Untitled.png
Untitled.png (96.67 KiB) Viewed 6325 times
by Connorses
Fri Jun 16, 2017 2:20 am
Forum: Support and Development
Topic: Creating Gear Joints
Replies: 2
Views: 1652

Re: Creating Gear Joints

Hey, so I figured it out just now! I had to set the ratio to a negative number. The prismatics locked in place because they were both trying to move past their limit.
by Connorses
Thu Jun 15, 2017 4:49 am
Forum: Support and Development
Topic: Creating Gear Joints
Replies: 2
Views: 1652

Creating Gear Joints

I'm trying to use the Gear Joint, and I've got 2 bodies attached to a static body via Prismatic Joints. The prismatic joints work fine; adding the gear joint causes both bodies to lock in place. I noticed that the Gear Joint page says "the joints it uses connect their respective bodies to the g...
by Connorses
Wed Apr 19, 2017 11:20 pm
Forum: Games and Creations
Topic: Randomized Song Rewinder
Replies: 2
Views: 1822

Randomized Song Rewinder

Annoy your friends! Amuse your enemies! Loop the intro to a song infinitely! This program picks a random time in the future from the list of times (in seconds) and when it reaches that time, it rewinds the audio to another time from that same list and picks a new random time in the future. It also h...
by Connorses
Wed May 18, 2016 3:24 pm
Forum: Support and Development
Topic: Quick legalese question
Replies: 1
Views: 1173

Quick legalese question

If I were to use this GUI library I found on the wiki in a retail game, how should I include the license information? https://github.com/airstruck/luigi/blob ... es/license

Should I indicate that it's the license for this GUI library and not my whole game? I'm new to this stuff help me >_<
by Connorses
Wed May 18, 2016 3:16 pm
Forum: General
Topic: What's everyone working on? (tigsource inspired)
Replies: 1750
Views: 1006964

Re: What's everyone working on? (tigsource inspired)

0rBiC3TE_Mk Ok. Just added a very first shader to colour Player 2 in blue colours. :cool: My step dust particles look strange. Could anyone help me with them? :death: In this video, dust always spawns directly below the center of the player's sprite, so it looks like a little white spot between the...