Search found 43 matches

by gcmartijn
Thu Feb 25, 2021 5:42 pm
Forum: Support and Development
Topic: multiple canvases alpha, not working ?
Replies: 6
Views: 280

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: 280

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", 0, 0, 100, 100) end loc...
by gcmartijn
Thu Feb 25, 2021 6:48 am
Forum: Support and Development
Topic: multiple canvases alpha, not working ?
Replies: 6
Views: 280

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: 280

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: 171

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: 171

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 special ch...
by gcmartijn
Thu Jan 28, 2021 6:43 pm
Forum: Support and Development
Topic: osx (maybe windows to?) shake mouse pointer to locate
Replies: 0
Views: 1513

osx (maybe windows to?) shake mouse pointer to locate

Hi, Using osx your are able to find your pointer to shake the mouse pointer very fast. It then will become a huge pointer, and then you see/think "Hey there is my pointer". But, when users do this, it will 'detach' the current window cursor (fps drop) and have some seconds no contact with love2d win...
by gcmartijn
Sun Jan 24, 2021 8:25 pm
Forum: Support and Development
Topic: Weird stuff with udp socket and keyboard
Replies: 3
Views: 2560

Re: Weird stuff with udp socket and keyboard

I din't read the code, but in the first days when I was working with testing, this information is important. If you use UDP you don't have any guarantee that your message is send/received. I guess that this is not the issue here but its good to know. For some things you want to use TCP because that ...
by gcmartijn
Thu Dec 31, 2020 2:28 pm
Forum: Support and Development
Topic: Canvas is this a good way to use it ?
Replies: 0
Views: 3104

Canvas is this a good way to use it ?

Yust to be sure, I already saw that I can use multiple canvas to draw thing in the background and use it later, and this is working for all devices. This is something else then love.graphics.isSupported("multicanvas") that I don't want to use because I don't want to use simultaneously drawing and ha...
by gcmartijn
Mon Dec 28, 2020 6:39 pm
Forum: General
Topic: Canvas support 99% ?
Replies: 5
Views: 4501

Re: Canvas support 99% ?

oke good to know.