Hi Everyone! I have a little problem with changing World’s:
FP.world = new MyWorld2(this);
this - is the Player class (this code is in Player.update() ) In constructor method of another World i try to:
public function MyWorld2(myPlayer:Player)
{
add(myPlayer);
}
but then player.update() method isn’t invoke. I want to save for example HP data and so other… Do I have to:
add(new Player());
and then manualy update new player with datas from old instance?
Also when i switching World were I generate for exaple Rectangle 6000x1000 tileds for background: flash player don’t responding… Did I sth wrong?
Really sorry for my English…