Ah I see! I'm unfamilar with meshes (this is the first I knew love could handle them), so I'll look into them. Is this any better than just drawing a quad big enough to fill the entire screen?
Search found 160 matches
- Mon Jan 30, 2023 11:02 am
- Forum: Support and Development
- Topic: Rotate image on a quad
- Replies: 17
- Views: 6059
- Sun Jan 29, 2023 8:40 pm
- Forum: Support and Development
- Topic: Rotate image on a quad
- Replies: 17
- Views: 6059
Re: Rotate image on a quad
Is that what you were describing? Not quite - the main issue is that it needs to be a repeating texture, like so: Untitled.png Here is what I'm currently working with, which works untill you need to rotate the texture around a point image = love.graphics.newImage("anImage.png") function l...
- Sun Jan 29, 2023 7:26 pm
- Forum: Support and Development
- Topic: Rotate image on a quad
- Replies: 17
- Views: 6059
Rotate image on a quad
Hello there LÖVE forums, I am once again asking for your knowledge and assistance. I've been working on a game with a level editor where you can draw out polygons for the level platforms, and now I have made it so you can convert them into physics objects. Each platform has a repeating texture, whic...
- Thu Jan 26, 2023 11:53 am
- Forum: Support and Development
- Topic: Physics objects not quite touching
- Replies: 4
- Views: 2942
Re: Physics objects not quite touching
My bet would be on inappropriate setting of love.physics.setMeter(). It is recommended to create shapes no larger than 10 times the scale. This is important because Box2D is tuned to work well with shape sizes from 0.1 to 10 meters. The default meter scale is 30. https://love2d.org/wiki/love.physic...
- Tue Jan 24, 2023 11:50 am
- Forum: Support and Development
- Topic: Physics objects not quite touching
- Replies: 4
- Views: 2942
Physics objects not quite touching
Hi all! I've been using Love's physics engine for my game, however I've noticed that fixtures seem to be slightly bigger than they should be, causing there to be small gaps between them, and I'm not sure what's causing it. I know this can be fixed by just reducing the fixtures' size relative to the ...
- Sun Dec 11, 2022 5:21 pm
- Forum: Support and Development
- Topic: Can't manage to filesystem.write nor filesystem.createDirectory
- Replies: 14
- Views: 6666
- Sun Dec 11, 2022 2:06 pm
- Forum: Support and Development
- Topic: Can't manage to filesystem.write nor filesystem.createDirectory
- Replies: 14
- Views: 6666
Re: Can't manage to filesystem.write nor filesystem.createDirectory
I ran this code on my Windows computer, seems to be working fine, creating a file in my roaming folder. I'm not too familiar with Linux, but I think this is probably a permissions issue. This probably won't work, but try changing local r, m = love.filesystem.write("/abc", "abc") ...
- Sun Dec 11, 2022 1:45 pm
- Forum: Support and Development
- Topic: Trouble using stencil()
- Replies: 1
- Views: 1481
Trouble using stencil()
Hi there, I'm trying to use love.graphics.stencil(), but am having trouble trying to get it to do exactly what I want. I'm able to successfully use the function like this love.graphics.stencil(stencilFunction, "replace", 1) However, I want to be able to pass arguments into stencilFunction(...
- Wed Nov 30, 2022 11:34 pm
- Forum: Support and Development
- Topic: Physics max velocity tied to framerate
- Replies: 3
- Views: 3200
Re: Physics max velocity tied to framerate
Ideally I'd like a way to bypass the max speed altogether, though I'm starting to think that may not be possible.
This is my first time using love's physics, so I based the code off of the tutorial for it. How would I go about untying it from the framerate?
This is my first time using love's physics, so I based the code off of the tutorial for it. How would I go about untying it from the framerate?
- Wed Nov 30, 2022 9:31 pm
- Forum: Support and Development
- Topic: Physics max velocity tied to framerate
- Replies: 3
- Views: 3200
Physics max velocity tied to framerate
Hi there! I've been making a game with some flight simulation in it, and I decided to use love's inbuilt physics engine. However, I noticed some weird behaviour in my game. Occasionally, it would just slow you down randomly, as well as there being a max velocity. I had a hunch, so I added a sleep in...