Integrating bump.lua into the love API

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
Bindie
Party member
Posts: 151
Joined: Fri Jan 23, 2015 1:29 pm

Integrating bump.lua into the love API

Post by Bindie »

Hey, since bump.lua is so established within LÖVE, I think that this library should be integrated into LÖVE as love.physics. Maybe something like love.collision or otherwise.

What are your comments on this? Also a tutorial on the wiki page for bump.lua but integrated into the love API I think would make the engine more user-friendly.
Sosolol261
Party member
Posts: 125
Joined: Wed Nov 26, 2014 6:43 am

Re: Integrating bump.lua into the love API

Post by Sosolol261 »

That would mean kikito and the Love2D crew to work together.
Kikito would need to know how to code in C(or whichever language love is written in) and rewrite it.
It would take a lot of time... You CAN submit your idea to the love crew though.
User avatar
s-ol
Party member
Posts: 1077
Joined: Mon Sep 15, 2014 7:41 pm
Location: Cologne, Germany
Contact:

Re: Integrating bump.lua into the love API

Post by s-ol »

bump.lua is a Lua library, most of the LÖVE source is C++. Also Kikitos libraries are aimed at the maximum audience, relying only on themselves. Bump does not need love and love does not need bump, bump is prefect for developers in Corona SDK as well for example. Also bump specifically only handles AABBs and therefore doesn't fit for a lot of more complex games.The reason that love.physics exists is that it can cover basically anything (though it is often not desireable) and a C++ feature.

s-ol.nu /blog  -  p.s-ol.be /st8.lua  -  g.s-ol.be /gtglg /curcur

Code: Select all

print( type(love) )
if false then
  baby:hurt(me)
end
Bindie
Party member
Posts: 151
Joined: Fri Jan 23, 2015 1:29 pm

Re: Integrating bump.lua into the love API

Post by Bindie »

Alright, I see.
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: Integrating bump.lua into the love API

Post by T-Bone »

Also, if you want to add bump to your Löve game, it's really easy to do. Adding something like Box2D yourself would be much more difficult (since it's a C++ library).

That said, good libraries like bump could certainly get better discoverability for beginners.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Integrating bump.lua into the love API

Post by kikito »

I am glad you like bump so much that you think it is a good idea to merge it with LÖVE, and I thank you for supporting it.

But like the others on this thread, I also don't think it should be done. All the reasons against it have already been written, so I won't repeat them.
Last edited by kikito on Wed May 06, 2015 11:32 am, edited 1 time in total.
When I write def I mean function.
Bindie
Party member
Posts: 151
Joined: Fri Jan 23, 2015 1:29 pm

Re: Integrating bump.lua into the love API

Post by Bindie »

You're welcome.
Post Reply

Who is online

Users browsing this forum: Amazon [Bot] and 1 guest