Page 1 of 1

connected floating attached java-like graphics?

Posted: Fri Jul 06, 2012 10:06 pm
by cedardoc
This is a noob question (I haven't started doing any tutorials to learn things yet), but I have an application in mind I'd like to build with love2d and don't know if it can even be done. I tried searching for this here but don't know the proper terms to use.

I was thinking of showing related bits of text that would be displayed physically connected to one another kind of like this:

http://www.myphysicslab.com/molecule6.html

but instead of little balls for molecules there would be connected balloons with text in them.
Is this doable with love2d, or am I barking up the wrong tree?

thanks,
Dave

Re: connected floating attached java-like graphics?

Posted: Fri Jul 06, 2012 11:45 pm
by juno
Hi Dave. This is definitely doable. I would recommend you take a look at the Love2d physics library, in particular the joint class. This would allow you to connect multiple bodies together. Varying the mass of each object would produce a springy effect I would think.

Re: connected floating attached java-like graphics?

Posted: Sat Jul 07, 2012 12:48 am
by cedardoc
cool, thanks

Re: connected floating attached java-like graphics?

Posted: Sat Jul 07, 2012 7:14 pm
by OmarShehata
cedardoc wrote:cool, thanks
You would probably even be better off making it yourself if you know the physics/math for it. Would be an excellent way to test your knowledge on that and what you create will be that much more impressive to you. You'll probably learn a lot as well.