Game Score


i trying make game score inserting value text field when each sprite clicked mouse.

my code looks follows:

 

on mousedown me

 

  member("score tally").text = integer("score tally")

  lvcurrentscore = lvcurrentscore + 100

  lvcurrentscore = ("score tally")

 

end

 

it doesn't provide me errors when compile when click sprite places null in text field.

any appreciated thank you.

it's difficult understand code "score tally" is, assuming it's member name following might help:

on mousedown me   lvcurrentscore = integer( member("score tally").text )   lvcurrentscore = lvcurrentscore + 100   member("score tally").text = string(lvcurrentscore) end 


More discussions in Director Lingo


adobe

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account