Search found 523 matches

by dusoft
Fri May 24, 2024 6:25 pm
Forum: Support and Development
Topic: Pong: Balls stick to Walls (Box2D solution exists)
Replies: 2
Views: 1003

Re: Pong: Balls stick to Walls (Box2D solution exists)

Maybe resolution, but that's just my guess. Also using LOVE from 2015 and today will likely have different results.
by dusoft
Fri May 24, 2024 6:22 pm
Forum: Support and Development
Topic: Variable gets set to nil when it shouldn't
Replies: 3
Views: 64

Re: Variable gets set to nil when it shouldn't

Jipjang wrote: Fri May 24, 2024 6:02 pm
marclurr wrote: Fri May 24, 2024 4:31 pm Read this line really carefully.

Code: Select all

koopa.mvspd = transformedfrom[2].mvpsd
Yeah I just noticed bruh
Maybe use editor that does some basic checking, bruh.

Also you forgot to say thanks, bruh.
by dusoft
Wed May 22, 2024 3:12 pm
Forum: General
Topic: [Closed] Any good UI maintained library?
Replies: 6
Views: 276

Re: Any good UI maintained library?

Something from here? I am sure you know about the resource - and you are right, many seem to be abandoned.
https://github.com/love2d-community/awe ... ov-file#ui

Inky seems to fulfill your requirements and the latest commit was two months ago:
https://github.com/Keyslam/Inky
by dusoft
Mon May 20, 2024 10:16 pm
Forum: General
Topic: Pool(Billiards) physics (Need help)
Replies: 7
Views: 726

Re: Pool(Billiards) physics (Need help)

This is already cooler than 90% of what you find in comercial pool games for old consoles. The problem here is that this kind of game is all about physics, you gotta have to nail it or else its garbage. So pool is not the smartest starting point to get into game dev. Anything with complex physics i...
by dusoft
Mon May 20, 2024 12:16 pm
Forum: General
Topic: Pool(Billiards) physics (Need help)
Replies: 7
Views: 726

Re: Pool(Billiards) physics (Need help)

Just use the love.physics module while setting gravitation to 0. That should work.
by dusoft
Fri May 17, 2024 8:01 am
Forum: Support and Development
Topic: whats the best way to make general colision detection?
Replies: 5
Views: 626

Re: whats the best way to make general colision detection?

knorke wrote: Thu May 16, 2024 11:00 am For Space Invaders I would just use a isPointInRectangle() check
The projectiles are points and the player's ship, "shield walls" and enemies are rectangles.
knorke meant e.g. this:
https://love2d.org/wiki/PointWithinShape
by dusoft
Wed May 15, 2024 7:35 pm
Forum: Support and Development
Topic: whats the best way to make general colision detection?
Replies: 5
Views: 626

Re: whats the best way to make general colision detection?

Either go with simple AABB or use something in the middle such as Hardon Collider https://vrld.github.io/HardonCollider/tutorial.html or go the hard way with Love physics module https://love2d.org/wiki/love.physics. AABB should work well for simple games such as Space Invaders. But first: be specifi...
by dusoft
Tue May 14, 2024 7:51 pm
Forum: General
Topic: Polygon is too bitmap.
Replies: 9
Views: 849

Re: Polygon is too bitmap.

togFox wrote: Tue May 14, 2024 11:09 am img:setFilter("linear", "nearest")


??
Probably that. Shouldn't this be a default option, anyway? I see many people having these issues on the forums. What does @slime think?
by dusoft
Mon May 06, 2024 7:31 pm
Forum: General
Topic: [Help] Techniques for scaling
Replies: 24
Views: 1413

Re: [Help] Techniques for scaling

Well, not flooring player movement, while camera movement is floored might cause some mismatch. Video or GIF would help as would the code as pgimeno said.
by dusoft
Thu May 02, 2024 10:23 pm
Forum: Support and Development
Topic: fixture:setMask requiring two arguments
Replies: 6
Views: 1022

Re: fixture:setMask requiring two arguments

This is not the forum for VSCode bugs. The LOVE docs are clear.