How to i add a image in as instruction?
Also I made a Rocket game and i need to add levels and I want to make asteroid faster as you reach higher and and higher score? Help me please
thanks in advanced
//in Asteroid class
public static int speed = 5;
public void act()
{
move(speed);
}//Rocket class or any other class which has the score variable //when increasing the score, example: if (score == 100) Asteroid.speed = 6; else if (score == 200) Asteroid.speed = 7; else if (score == 300) Asteroid.speed = 8;
Asteroid.speed = 5;
Actor instruction = (Actor) getWorld().getObject(Instruction.class).get(0); if (instruction != null) getWorld().removeObject(instruction);