So I created a class file called player and it holds stats for the player such as hp, mp, money, experience right? So I go into a battle, I win the battle =), now the money and experience should be changed. When I go back to the main screen the things aren’t changed. I’m saving the information in a database.
scene board 0 - loads information from database and sends it to var char:Object = new Player(blah,blah,blah,blah);
scene battle “victory” - saves all the information
the weird thing is, when i close the movie and open it again the changes r displayed, seems like some kinda lag? What’s wrong can you help me?
here is the movie --> www.soul.clearphp.com/soul
BACKSPACE -> menu
ENTER -> test battle
i dont get why it works but i changed everything to _root.whatever
for instance before i used _root.char.experience; to get the experience out of the char class file, but i changed it to _root.experience and it still works? thats weird can anyone explain this to me?