Hey,
i need help with a money system that acts as a score does. on the top of the screen is a MC box and within the MC are two text boxes, one says "money: $" and the other has instance name money_value. I have a global variable set money and it starts at 0. Now, this is an adventure/shooter so the screen moves and follows the main character. so does the MC box. how can i update the 0 to change when the money goes up?
thanks,
adamvan101
SCORE:
Create a dynamic text box with the variable (Properties panel) "score".
Convert it to a movie clip symbol with an instance name "scorer".
On the movie clip:
Code:
onClipEvent(load){
score=0;
}
Wherever you want to add score (I'll use a button example):