I want when I press "PLAY" that it goes from my menu to the game itself can someone help me?
Actor menuActor = new Actor() {
};
public MyWorld() {
menuActor.setImage("filename.png");
addObject(menuActor, getWidth() / 2, getHeight() / 2) // here an actor is added
}
@Override
public void act() {
}
@Override
public void started() {
removeObject(menuActor); // here it's removed when "Run' is pressed
}