I have seen the other questions (and watched a tutorial) but none of them work for me.
I want follow_ant to follow bread.
I found this code on another question.
The bread moves with the arrow keys. What am i doing wrong. Thanks
public class follow_ant extends Actor
{
int test = 0;
public void act()
{
move(2);
bread player = (bread) getWorld().getObjects(bread.class).get(0);
turnTowards(player);
}
}
