Search found 47 matches

by gcmartijn
Wed Mar 10, 2021 1:11 pm
Forum: Support and Development
Topic: looking for a nice text border (outline/stroke) script.
Replies: 7
Views: 1196

Re: looking for a nice text border (outline/stroke) script.

Good to know about a NewText object for the future. owww, wait haha now 'I can connect the dots' I feel stupid haha. I can create now free correct fmt fonts using the link above. And the output using both functions are for now oke. So again this forum and great community solved this case. I'm happy ...
by gcmartijn
Tue Mar 09, 2021 4:36 pm
Forum: Support and Development
Topic: looking for a nice text border (outline/stroke) script.
Replies: 7
Views: 1196

Re: looking for a nice text border (outline/stroke) script.

Hi Milon, Something like that was I using (the the first post) but yours is better because its is the correct way (I did miss some x/y points). Yesterday I was testing a font to bmfont program (https://github.com/vladimirgamalyan/fontbm) and was working/looking oke (but without border yet). I guess ...
by gcmartijn
Thu Mar 04, 2021 8:13 pm
Forum: Support and Development
Topic: looking for a nice text border (outline/stroke) script.
Replies: 7
Views: 1196

Re: looking for a nice text border (outline/stroke) script.

Thanks for the info. At the moment the text is white on top of the game, and using a black border it looks much better, and more easy to read. But you say some things I can use, especially the thing about "a font that comes with a built-in outline". Than I still can use ttf and see how it ...
by gcmartijn
Thu Mar 04, 2021 5:26 pm
Forum: Support and Development
Topic: looking for a nice text border (outline/stroke) script.
Replies: 7
Views: 1196

looking for a nice text border (outline/stroke) script.

I'm using ttf fonts and that is looking good now. Inside the 'game' there are various text sizes and maybe multiple fonts. At this point i'm happy with ttf. But now I had to add a black solid border around it and 1px is looking oke, but for example a 5 px border is not correct (beautiful). Before i'...
by gcmartijn
Thu Feb 25, 2021 5:42 pm
Forum: Support and Development
Topic: multiple canvases alpha, not working ?
Replies: 6
Views: 1257

Re: multiple canvases alpha, not working ?

Oke thanks for the info, I have to say that at this point I din't have any knowledge about blending modes at all ;) but now I can implement this structure in some classes. Thanks.
by gcmartijn
Thu Feb 25, 2021 12:52 pm
Forum: Support and Development
Topic: multiple canvases alpha, not working ?
Replies: 6
Views: 1257

Re: multiple canvases alpha, not working ?

And can i do this, because this is working, or is it better to leave the setBlendMode inside the function? local function drawCanvas1() love.graphics.clear() --love.graphics.setBlendMode("alpha", "alphamultiply") love.graphics.setColor(1, 0, 0) love.graphics.rectangle("fill&...
by gcmartijn
Thu Feb 25, 2021 6:48 am
Forum: Support and Development
Topic: multiple canvases alpha, not working ?
Replies: 6
Views: 1257

Re: multiple canvases alpha, not working ?

Thanks ! Now it's possible for me to convert some things into this multiple canvases structure. I see that you use setColor(0,0,0,0) and clear(). What I do is sometimes this function QuickMenu:draw() -- current color local pr, pg, pb, pa = love.graphics.getColor() local pfont = love.graphics.getFont...
by gcmartijn
Wed Feb 24, 2021 3:51 pm
Forum: Support and Development
Topic: multiple canvases alpha, not working ?
Replies: 6
Views: 1257

multiple canvases alpha, not working ?

Hi, Screenshot 2021-02-24 at 16.43.03.png How to make the yellow part .50 alpha ? This is the not working code. function love.load() canvas1 = love.graphics.newCanvas() drawCanvas1() canvas2 = love.graphics.newCanvas() drawCanvas2() love.graphics.setCanvas() end function drawCanvas1() love.graphics....
by gcmartijn
Mon Feb 15, 2021 7:39 pm
Forum: Support and Development
Topic: Need a test font that work with 'weird' characters like ä
Replies: 3
Views: 988

Re: Need a test font that work with 'weird' characters like ä

Oke, good to know thanks.
Then I know I have to check my code and create a small test script.
by gcmartijn
Mon Feb 15, 2021 6:52 pm
Forum: Support and Development
Topic: Need a test font that work with 'weird' characters like ä
Replies: 3
Views: 988

Need a test font that work with 'weird' characters like ä

Hi, Does someone have a font that includes characters like: ä I want to test: love.graphics.print("testätest") At the moment the output is: testtest All fonts that I download don't support it, but that's weird because I do see it inside the font example. For example this font, do show the ...