Search found 157 matches
- Thu Dec 19, 2024 7:11 am
- Forum: Support and Development
- Topic: Issues with 3D graphics and Artifacting in love2d
- Replies: 4
- Views: 747
Re: Issues with 3D graphics and Artifacting in love2d
I wasn't able to see any artifacts that looked like sparks but when i set the line mode to rough it sometimes looked like line segments were extending too far. I changed the code to make three calls to love.graphics.line and this didn't produce the problem. There may be some quirks with the polygon ...
- Thu Dec 19, 2024 12:04 am
- Forum: Support and Development
- Topic: Issues with 3D graphics and Artifacting in love2d
- Replies: 4
- Views: 747
Re: Issues with 3D graphics and Artifacting in love2d
This is the main problem. Look closely, you're not squaring the z component correctly. l = math.sqrt(normal.x * normal.x + normal.y * normal.y + normal.x * normal.z) But you're also calculating the cross product slightly wrong, though you've compensated by negating the incorrect value so it actually...
- Tue Dec 17, 2024 4:17 pm
- Forum: Support and Development
- Topic: How do i install Love via the command line in mac? ie. brew
- Replies: 1
- Views: 521
Re: How do i install Love via the command line in mac? ie. brew
Looks like it's available via homebrew https://formulae.brew.sh/cask/love
- Mon Dec 16, 2024 7:27 pm
- Forum: General
- Topic: x,y coordinates bottom right corner
- Replies: 1
- Views: 676
Re: x,y coordinates bottom right corner
If you're drawing directly to the window, the bottom right will be window (width - 1, height - 1). You can get them using love.graphics.getWidth/getHeight. The default window size is 800x600.
- Sat Dec 14, 2024 7:11 am
- Forum: General
- Topic: Retro handheld consoles anyone?
- Replies: 31
- Views: 19127
Re: Retro handheld consoles anyone?
By this do you mean that Löve was pre installed with the with the community build?scorelessmusic wrote: ↑Sat Dec 14, 2024 12:00 am I got the R36S running the community build of ArkOS. The .love bundle runs without any fuss but could also be dependent on what you're doing with the code.
- Fri Dec 13, 2024 11:51 am
- Forum: General
- Topic: Retro handheld consoles anyone?
- Replies: 31
- Views: 19127
Re: Retro handheld consoles anyone?
I'm also interested in which OS your using. I tried to run one of my games on my RGB30 a while back but didn't get anywhere. It's running the default JelOS IIRC.
- Sat Dec 07, 2024 7:21 pm
- Forum: Support and Development
- Topic: Using ImageData:setPixel for non rgba8 ImageData types
- Replies: 2
- Views: 963
Re: Using ImageData:setPixel for non rgba8 ImageData types
It needs all the parameters and the underlying implementation ignores the superfluous ones if necessary.
- Tue Dec 03, 2024 5:42 pm
- Forum: Support and Development
- Topic: i cant get my image to move with my arrow keys
- Replies: 3
- Views: 1097
Re: i cant get my image to move with my arrow keys
Can you show us the error?
- Mon Dec 02, 2024 4:15 pm
- Forum: Games and Creations
- Topic: Space Escape
- Replies: 6
- Views: 1614
Re: Space Escape
Congrats on the milestone! Looks interesting I'll have to give it a go this evening. I've managed to renege on my plan to release something on Steam for about the fourth year on the trot now but it's always inspiring seeing other people do it :) Do you have any ideas for your next project or just go...
- Sat Nov 23, 2024 8:33 pm
- Forum: Support and Development
- Topic: quad resize
- Replies: 5
- Views: 1246
Re: quad resize
You mean you want to draw it at a custom size? Use the sx and sy parameters of the draw function. You'd need to work out the correct fraction of the true size to make it 50x50px (in this case 50 divided by 64, or 0.78125). You should really get comfortable reading the documentation, finding this kin...