physics library?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
chimmihc
Prole
Posts: 13
Joined: Mon Oct 19, 2015 6:32 am

physics library?

Post by chimmihc »

I am making a game that will require a physics system and contemplate using the physics library.

The game will have thousands objects to be effected in some way by the physics(Most of them static) and I would like advice from people with experience with the library.

Would it be better to make my own system for the physics?
User avatar
Beelz
Party member
Posts: 234
Joined: Thu Sep 24, 2015 1:05 pm
Location: New York, USA
Contact:

Re: physics library?

Post by Beelz »

That depends what kind of game you plan on making. I find that for small projects its easier to just use the built-in physics. Larger, more complex projects I would use a library like BUMP.

Code: Select all

if self:hasBeer() then self:drink()
else self:getBeer() end
GitHub -- Website
User avatar
MadByte
Party member
Posts: 533
Joined: Fri May 03, 2013 6:42 pm
Location: Braunschweig, Germany

Re: physics library?

Post by MadByte »

Beelz wrote:That depends what kind of game you plan on making. I find that for small projects its easier to just use the built-in physics. Larger, more complex projects I would use a library like BUMP.
BUMP is no physics library. It's just for axis aligned bounding box collision detection / basic resolving at the moment. Also, if you want to start a project which doesn't need complex physics I would recommend you to use BUMP first instead of love.physics because it's much easier to use.
Otherwise if you need a complex physical simulation you should use love.physics(known as Box2D) instead of writing your own physics engine.
Zarty55
Citizen
Posts: 79
Joined: Thu Jul 25, 2013 2:36 am

Re: physics library?

Post by Zarty55 »

It really depends. I mean, if you need a precise physics simulation you should use Box2D, unless you want to bother with making your own physics engine. Use if you want, but keep in mind it's pretty complex (not hard to learn, though) and it takes a bit of work to make it do things the way you want it.
Post Reply

Who is online

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