Answer the question
In order to leave comments, you need to log in
How to draw an actor in LibGdx version 1.9.02?
I was trying to draw an actor at a specific position with the line
actor.setPosition(45, 45);
and it is still drawn in coordinates 0, 0
the second question
I can't draw the actor himself and not just a picture.
I've tried so many different ways.
When I tried to find it on the Internet, these methods are outdated
. If it's not hard, just drop the working code.
Answer the question
In order to leave comments, you need to log in
Thanks, I guessed it myself))))
It turns out that I put the line stage.draw () in the wrong order;
stage.act(Gdx.graphics.getDeltaTime());
Another question arose - in the TouchUp method, when clicked, a certain text is displayed in the console, and when I try to write a transition to the next screen, it does not work. why and how to fix???
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question