Search found 3 matches
- Mon Feb 24, 2025 6:26 am
- Forum: Support and Development
- Topic: Shaky, Jittery camera when moving diagonally
- Replies: 2
- Views: 746
Re: Shaky, Jittery camera when moving diagonally
Rounding the drawing coordinates worked like magic! The bushes stopped shaking when moving. But I still notice a little jitteriness of the map when walking diagonally. I guess that can be fixed by smoothening the camera. Thank you for your reply!
- Sun Feb 23, 2025 4:57 pm
- Forum: Support and Development
- Topic: Shaky, Jittery camera when moving diagonally
- Replies: 2
- Views: 746
Shaky, Jittery camera when moving diagonally
I'm making a 2D top down action RPG and I implemented the camera myself. For some reason, when I'm walking diagonally, the world map seems to shake or jitter (video - https://youtu.be/8g6Zl_hEq0M ). I think the fault is in my camera object but I can't figure out why. This is the code I'm using for c...
- Sat Feb 22, 2025 5:09 pm
- Forum: Support and Development
- Topic: How to write a simple query world using love.physics?
- Replies: 1
- Views: 680
How to write a simple query world using love.physics?
I'm trying to use vanilla love.physics (box2d) but I could't find a direct function to query a specific region (circle, rectangle etc.). There is one function named World:queryBoundingBox() but I can't figure out how to use this. Ultimately, I want to query a circular area in front of the player and...