Search found 137 matches
- Thu Jan 28, 2021 6:43 pm
- Forum: Support and Development
- Topic: osx (maybe windows to?) shake mouse pointer to locate
- Replies: 0
- Views: 6135
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 ...
- Sun Jan 24, 2021 8:25 pm
- Forum: Support and Development
- Topic: Weird stuff with udp socket and keyboard
- Replies: 3
- Views: 5997
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 ...
- Thu Dec 31, 2020 2:28 pm
- Forum: Support and Development
- Topic: Canvas is this a good way to use it ?
- Replies: 0
- Views: 5945
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...
- Mon Dec 28, 2020 6:39 pm
- Forum: General
- Topic: Canvas support 99% ?
- Replies: 5
- Views: 7713
Re: Canvas support 99% ?
oke good to know.
- Mon Dec 28, 2020 5:56 pm
- Forum: General
- Topic: Canvas support 99% ?
- Replies: 5
- Views: 7713
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...
- Mon Dec 28, 2020 3:57 pm
- Forum: General
- Topic: Canvas support 99% ?
- Replies: 5
- Views: 7713
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...
- 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: 5021
[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] = ...
- Fri Dec 25, 2020 12:32 pm
- Forum: Support and Development
- Topic: [Solved] jumper big maps want to optimise it using 'sectors'
- Replies: 9
- Views: 5021
Re: jumper big maps want to optimise it using 'sectors'
Oke working code, but not the final code, because I have to figure out how to do the math to convert the xy data I create 3 tables... Thanks for your help, I will mention it in the credits list :) map = {} -- create a 'window' where to search local x1 = 75 local y1 = 400 local x2 = 590 local y2 = 72...
- Fri Dec 25, 2020 12:10 pm
- Forum: Support and Development
- Topic: [Solved] jumper big maps want to optimise it using 'sectors'
- Replies: 9
- Views: 5021
Re: jumper big maps want to optimise it using 'sectors'
I think I understand it almost... Experimenting with this. local currentXn, currentYn local targetXn, targetYn local mapY, mapX = 1, 1 for y = y1, y2 do map[mapY] = {} if currentY == y then currentYn = mapY end if targetY == y then targetYn = mapY end for x = x1, x2 do if currentX == x then currentX...
- Fri Dec 25, 2020 11:44 am
- Forum: Support and Development
- Topic: [Solved] jumper big maps want to optimise it using 'sectors'
- Replies: 9
- Views: 5021
Re: jumper big maps want to optimise it using 'sectors'
Sorry I don't understand how... I saw something with a camera class that converts local to world coordinates and world to local. I guess you I have to change after the for loop those 4 coordinate but what is the formula to do that ? currentX = currentX - x2 currentY = currentY - y2 targetX = targetX...