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

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
StaleNacho
Prole
Posts: 13
Joined: Sat Aug 24, 2013 2:02 pm

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

Post 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?
User avatar
veethree
Inner party member
Posts: 877
Joined: Sat Dec 10, 2011 7:18 pm

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

Post 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.
User avatar
StaleNacho
Prole
Posts: 13
Joined: Sat Aug 24, 2013 2:02 pm

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

Post 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)
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Semrush [Bot] and 2 guests