Search found 26 matches

by hoistbypetard
Sun May 24, 2020 7:43 pm
Forum: Support and Development
Topic: How to correctly use love.mousepressed ?
Replies: 1
Views: 1990

Re: How to correctly use love.mousepressed ?

It might help you to take a look at Uare. One of the buttons on the button sample there has exactly the behavior you want, and the whole thing is short enough that you can likely wrap your mind around it quickly and see what you're doing differently.
by hoistbypetard
Sun May 24, 2020 7:00 pm
Forum: Libraries and Tools
Topic: easier copy/paste between hex RGB(A) and LÖVE
Replies: 5
Views: 9073

Re: easier copy/paste between hex RGB(A) and LÖVE

While i can appreciate the work put in the project, the hoops required to be done might put people off to build this themselves... For a tool, it's probably fine. For a snippet, one could just use this: love.system.setClipboardText(colorFromValueString(love.system.getClipboardText())) or something ...
by hoistbypetard
Sun May 24, 2020 5:43 pm
Forum: Libraries and Tools
Topic: easier copy/paste between hex RGB(A) and LÖVE
Replies: 5
Views: 9073

Re: easier copy/paste between hex RGB(A) and LÖVE

It is. Mostly because the various places I've been copying color codes from either do rgb, rrggbb, rgba, rrggbbaa, sometimes with quotes, sometimes with leading # or not, depending on which program/site I'm using. And because I wanted it to act directly on the clipboard. The way I use it is with a m...
by hoistbypetard
Sun May 24, 2020 11:14 am
Forum: Libraries and Tools
Topic: easier copy/paste between hex RGB(A) and LÖVE
Replies: 5
Views: 9073

easier copy/paste between hex RGB(A) and LÖVE

With the change to color components being (0,1) instead of (0,255), I've found it harder to convert between color pickers or paint programs and LÖVE. For 10.x, I'd just see #cdcdcd and type {0xcd, 0xcd, 0xcd, 0xff}. I need a calculator for 11.x :-) That got painful enough that I made a gadget which ...
by hoistbypetard
Fri May 22, 2020 11:06 pm
Forum: Support and Development
Topic: Drawing text filled with a texture instead of a solid color
Replies: 3
Views: 3088

Re: Drawing text filled with a texture instead of a solid color

Thanks! That's much neater. And it looks a lot like how I'd hoped the stencil I was trying at first would work. I'm going to have to throw that shader language on the pile of things I want to learn more about. Is there any introductory material for GLSL (with or without LÖVE) which you consider espe...
by hoistbypetard
Fri May 22, 2020 7:27 pm
Forum: Support and Development
Topic: Drawing text filled with a texture instead of a solid color
Replies: 3
Views: 3088

Drawing text filled with a texture instead of a solid color

I'm pretty new to LÖVE and to lua, so please point out if I'm missing something even if it seems really obvious. For a title screen, I want to draw some text on the screen, such that the fill pattern on the letters is an image rather than a solid color. Think of something like this: Screenshot_20200...