I've used the love2d physics engine and I've also used 'normal' moving objects around with screen x/y.
I'd like to move an object around tiles (loosely) but then enjoy the collision detection and 'bump' characteristics the engine provides without applying vectors and newton forces etc.
Is it possible? Is that a disaster waiting to happen?
Me = greedy. Can I use physics collision with 'normal' movement?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Me = greedy. Can I use physics collision with 'normal' movement?
Current project:
https://togfox.itch.io/backyard-gridiron-manager
American football manager/sim game - build and manage a roster and win season after season
https://togfox.itch.io/backyard-gridiron-manager
American football manager/sim game - build and manage a roster and win season after season
Re: Me = greedy. Can I use physics collision with 'normal' movement?
Jeeper's tutorial series use custom physics with love.physics; maybe check them? https://love2d.org/forums/viewtopic.php?f=3&t=89706
Re: Me = greedy. Can I use physics collision with 'normal' movement?
Thanks. I'll check that out and do some experimenting.
Current project:
https://togfox.itch.io/backyard-gridiron-manager
American football manager/sim game - build and manage a roster and win season after season
https://togfox.itch.io/backyard-gridiron-manager
American football manager/sim game - build and manage a roster and win season after season
Re: Me = greedy. Can I use physics collision with 'normal' movement?
So here is a physics object that is moving by me manipulating linearVelocity()
I haven't tested collision detection or 'bump' physics - which is a key goal - but so far, I can move the object using straight forward physics without tracking and using hard screen co-ordinates/pixels.
(
The path is JUMPER and the boxes are obstacles (ignore that). If you squint you can see the tiled background that JUMPER is using. The white box is my mouse moving over tiles and those tiles being 'highlighted'.
)
I haven't tested collision detection or 'bump' physics - which is a key goal - but so far, I can move the object using straight forward physics without tracking and using hard screen co-ordinates/pixels.
(
The path is JUMPER and the boxes are obstacles (ignore that). If you squint you can see the tiled background that JUMPER is using. The white box is my mouse moving over tiles and those tiles being 'highlighted'.
)
Current project:
https://togfox.itch.io/backyard-gridiron-manager
American football manager/sim game - build and manage a roster and win season after season
https://togfox.itch.io/backyard-gridiron-manager
American football manager/sim game - build and manage a roster and win season after season
Who is online
Users browsing this forum: Ahrefs [Bot], dusoft, Majestic-12 [Bot] and 70 guests