Page 1 of 1

Display body a RevoluteJoint problem

Posted: Mon Dec 04, 2023 4:16 pm
by martblek
Hi, I'm starting with Love.
I'm trying to clone Hanenbow from Electroplankton on NDS.
Right off the bat I have a problem with body and sprite rotation.
Another problem is that I have 2 sprites defined but only the last one is displayed :(
What is wrong ?
Thanks for your patience.
Hanenbow.love
(26 KiB) Downloaded 282 times

Re: Display body a RevoluteJoint problem

Posted: Thu Dec 07, 2023 6:44 pm
by martblek
I fixed the error in the class definition and now the leafs are displayed.
Now to ensure that the box is over the entire sheet.
It should rotate around the bottom point,
but I still don't know how to move the rectangle so that it rotates around the bottom end and not around its center :(
I tried using motorJoint too but still the same :(
Hanenbow002.love
(25.89 KiB) Downloaded 244 times