babytarantula
Technical User
hi i want to do a basic code for a game. Each time you click on a moving button you win one point. I think i need to use a lingo text script like this one:
on mouseUp
member("Text").text = "1"
end mouseUp
So it shows a "1" when you click on the button. But then how can it change to "2"?
In other words how can i program numbers instead of letters? Something that will basically say "when you click here, increase value + 1 point"
I'm sure this is a very basic one...but it's hard to find info on such topics
Thanks!
on mouseUp
member("Text").text = "1"
end mouseUp
So it shows a "1" when you click on the button. But then how can it change to "2"?
In other words how can i program numbers instead of letters? Something that will basically say "when you click here, increase value + 1 point"
I'm sure this is a very basic one...but it's hard to find info on such topics
Thanks!