Search found 50 matches

by gcmartijn
Wed Feb 24, 2021 3:51 pm
Forum: Support and Development
Topic: multiple canvases alpha, not working ?
Replies: 6
Views: 1351

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

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

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 ...
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: 3945

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 ...
by gcmartijn
Sun Jan 24, 2021 8:25 pm
Forum: Support and Development
Topic: Weird stuff with udp socket and keyboard
Replies: 3
Views: 4949

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

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 draw...
by gcmartijn
Mon Dec 28, 2020 6:39 pm
Forum: General
Topic: Canvas support 99% ?
Replies: 5
Views: 5427

Re: Canvas support 99% ?

oke good to know.
by gcmartijn
Mon Dec 28, 2020 5:56 pm
Forum: General
Topic: Canvas support 99% ?
Replies: 5
Views: 5427

Re: Canvas support 99% ?

Oke thanks. And is there are list what devices or systems love support at the moment ? For example what minimum iOS version ? Or recommended version. Or what iPad version. I'm far from deployment but its good to know if something can work on a 'old' iPad 4 with a old iOS version or not. Would be nic...
by gcmartijn
Mon Dec 28, 2020 3:57 pm
Forum: General
Topic: Canvas support 99% ?
Replies: 5
Views: 5427

Canvas support 99% ?

How many devices will support the Canvas functions Using the latest love version? https://love2d.org/wiki/Canvas For now my target is MacOs/Windows/iOS/latest android and if everything goes very goed (keep on dreaming, nintendo switch and maybe other consoles when possible in the future). Maybe I wa...
by gcmartijn
Fri Dec 25, 2020 6:14 pm
Forum: Support and Development
Topic: [Solved] jumper big maps want to optimise it using 'sectors'
Replies: 9
Views: 2594

[Solved] Re: jumper big maps want to optimise it using 'sectors'

Solved local function collision(x, y) .... end map = {} -- create a 'window' where to search local x1 = 75 local y1 = 400 local x2 = 590 local y2 = 720 ----- local mapY, mapX = 1, 1 for y = y1, y2 do map[mapY] = {} for x = x1, x2 do if collision(x, y) then map[mapY][mapX] = 1 else map[mapY][mapX] = ...