by SanDiego1 » Sat Nov 26, 2005 12:20 am
Thanks for the help. I think I figured it out. I had put the "Score.textNumber = Score.textNumber + 100" in a Mouse Up Button event. I need the player to mouse click a button to change the score. What I did was put the code in the Script Editor for both the Mouse Up Button event and the Create Actor event. I did this for each button that the player uses to increase/decrease the score. At the end of the game, I have the player left click the final piece of the board so his score is compared with the high score. I again put the same code in the Mouse Up Button event and the Create Actor event. The code compared the high score with the score. On the high score, I loaded the variable using loadVars and the "text.Number = highScoreCount" and it worked. I hope this helps others who need to activate the score with a mouse click rather than a collision.