Why does everyone give LÖVE's Physics engine a hard time?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
Davidobot
Party member
Posts: 1226
Joined: Sat Mar 31, 2012 5:18 am
Location: Oxford, UK
Contact:

Re: Why does everyone give LÖVE's Physics engine a hard time

Post by Davidobot »

Here are my 2 cents on the OP: I think most people give the physics engine a hard time because they, initially, used it incorrectly, thus they didn't get the result that they wanted, thus they gave it a bad reputation.
PM me on here or elsewhere if you'd like to discuss porting your game to Nintendo Switch via mazette!
personal page and a raycaster
User avatar
Eamonn
Party member
Posts: 550
Joined: Sat May 04, 2013 1:29 pm
Location: Ireland

Re: Why does everyone give LÖVE's Physics engine a hard time

Post by Eamonn »

Just a question, you said "OP". I've seen a lot of people say that. Maybe it's a stupid question but what does that mean? It can't mean Operator, or OverPowered... so what does it mean??
"In those quiet moments, you come into my mind" - Liam Reilly
User avatar
Plu
Inner party member
Posts: 722
Joined: Fri Mar 15, 2013 9:36 pm

Re: Why does everyone give LÖVE's Physics engine a hard time

Post by Plu »

Opening Poster; ie the guy who started the thread.
User avatar
Eamonn
Party member
Posts: 550
Joined: Sat May 04, 2013 1:29 pm
Location: Ireland

Re: Why does everyone give LÖVE's Physics engine a hard time

Post by Eamonn »

Oh DUH! I'm such a dummy :awesome: Thanks Plu :)
"In those quiet moments, you come into my mind" - Liam Reilly
User avatar
mickeyjm
Party member
Posts: 237
Joined: Thu Dec 29, 2011 11:41 am

Re: Why does everyone give LÖVE's Physics engine a hard time

Post by mickeyjm »

It can also mean original post as in: "I updated the OP to include more images"
Your screen is very zoomed in...
User avatar
Eamonn
Party member
Posts: 550
Joined: Sat May 04, 2013 1:29 pm
Location: Ireland

Re: Why does everyone give LÖVE's Physics engine a hard time

Post by Eamonn »

Thanks :)
"In those quiet moments, you come into my mind" - Liam Reilly
User avatar
Davidobot
Party member
Posts: 1226
Joined: Sat Mar 31, 2012 5:18 am
Location: Oxford, UK
Contact:

Re: Why does everyone give LÖVE's Physics engine a hard time

Post by Davidobot »

OP in video games means over powered, on forums, it means original post or original poster. This has been mentioned by people above me, but none the less, have my 2 cents.
PM me on here or elsewhere if you'd like to discuss porting your game to Nintendo Switch via mazette!
personal page and a raycaster
spectralcanine
Citizen
Posts: 65
Joined: Sat Dec 22, 2012 8:17 am

Re: Why does everyone give LÖVE's Physics engine a hard time

Post by spectralcanine »

Xgoff wrote:the fudginess that physics engines have, both in simulation and collision detection, tends to be really annoying for games like platformers. not to mention they really really would like to have small and stable dts thank you very much

often you only want collision detection and want to handle the physics and collision resolution yourself, so you have more control over the feel of the player controls; using only the collision detection part of love.physics tends to be difficult (unless that changed recently), and last time i tried that i still had to have at least some of the physics in use for it to even register collisions. fortunately hardoncollider exists for this purpose, though since it's written in lua it can be quite slow if you aren't careful

Code: Select all

fixture:setSensor(true)
Do you expect physics to magically work with large delta times, or ones that vary a lot each frame?

I never managed to get a decent "old-school" 2D platformer player character though. The moment you introduce slopes to your code is the moment you doom yourself.
User avatar
Plu
Inner party member
Posts: 722
Joined: Fri Mar 15, 2013 9:36 pm

Re: Why does everyone give LÖVE's Physics engine a hard time

Post by Plu »

That's because most old-school 2d platformers have very unrealistic slope physics, though. Primarily, they keep the character upright at all times. Which makes reasonable sense for a character, but no sense at all for a brick. And the physics engine, by default, simulates bricks.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], t3hgreen and 4 guests