ra4king: That lime-green circle is the target. The other dark-greyed-green-line is the smoke, which is incorrectly placed.But never mind that. I solved it, but a new problem occurred.

I see the problem. This line:stage.append(trailer.getClone(x, y + realHeight));This just adds the trailer to the game, it does not render it. That happens later, when the rotation is restored to normal.

So I thought, I use g.renderAnimation instead of stage.append, so I can render it on the method where the rotation is taking place. The trailer is just an graphical effect anyway, with no properties.I quickly succeed to get the trailer where I wanted.However, I am getting erroneous results with drawAnimation(org.newdawn.slick.Animation).It seems like multiple animations that use the very same Image object can not be present at the same time.Even if I am calling drawAnimation every frame, only one animation is seeable. That is not the only problem, the graphic context is not rendering all frames in the animation. Yepp, for some reason, it is skipping some frames, making it look like it is blinking.Can anyone explain this?

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org