Page 1 of 1

I'm scared to use love.physics because of the wiki message.

Posted: Tue Jun 10, 2014 11:44 pm
by StaleNacho
On the wiki page it says love.physics is not lightweight-- I've heard this term used for technology in a few ways.
- File Size
- Performance

It was also said to be difficult to use.


I'm pretty comfortable with physics, have taken a 101 course and feel that I should know how to use the module. However my concern rests in that blanket terminology of being "not-lightweight." Should I expect to see poor performance in something simple like a platformer because of this?

Along that note: I decide love.physics would be a good fit for a platformer because it will make collision detection easier, saving time coding. Is this impulse against that wiki message also a bad idea?

Re: I'm scared to use love.physics because of the wiki messa

Posted: Wed Jun 11, 2014 12:16 am
by veethree
I don't think performance is an issue when it comes to the physics module, I believe the massage is just saying it's difficult to use, And if you're trying to make a simple platformer, the physics module isn't really necessary.

If you really want to save time coding, You wont do that by using the physics module just for collisions, I'd recommend looking into some of the collision detection libraries made by the community. Kikito recently released bump 2.0, which handles AABB collision, Which is usually all you need in a simple platformer,

Alternatively you could go with HardonColllider, Which is more advanced, And therefore a bit harder to use.

But if you really want to use the physics module, Check out this post on the concerned joe devblog.

Re: I'm scared to use love.physics because of the wiki messa

Posted: Wed Jun 11, 2014 3:27 am
by StaleNacho
Thanks for you time :)

Really useful post. I think I'm generally not well educated when it comes to the mental-framework of making a game, that is, all parts included. Not just me and the engine. (if that makes sense)