Display body a RevoluteJoint problem

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
martblek
Prole
Posts: 2
Joined: Mon Dec 04, 2023 3:24 pm

Display body a RevoluteJoint problem

Post 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 51 times
martblek
Prole
Posts: 2
Joined: Mon Dec 04, 2023 3:24 pm

Re: Display body a RevoluteJoint problem

Post 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 38 times
Post Reply

Who is online

Users browsing this forum: slime and 56 guests