Computer Science Canada beginner need help for button!! |
Author: | Lucy Xu [ Sun Apr 21, 2013 7:00 pm ] | ||
Post subject: | beginner need help for button!! | ||
What is it you are trying to achieve? i was the beginner of turing and i need made a start button on the middle of my screen to let it go to next page. And i really need someone can help me to make both of this things happen . thanks And only code i have is
|
Author: | Lucy Xu [ Sun Apr 21, 2013 7:08 pm ] |
Post subject: | RE:beginner need help for button!! |
finally i make this right |
Author: | Raknarg [ Sun Apr 21, 2013 7:16 pm ] |
Post subject: | RE:beginner need help for button!! |
wait so did you solve it or not |
Author: | Lucy Xu [ Sun Apr 21, 2013 7:34 pm ] |
Post subject: | RE:beginner need help for button!! |
i am not solve it ..... this is what i have now and i don't know what i should do next. |
Author: | Raknarg [ Sun Apr 21, 2013 7:53 pm ] |
Post subject: | RE:beginner need help for button!! |
so do you want to make your own buttons? Or have you heard about turing GUI button function? |
Author: | Lucy Xu [ Sun Apr 21, 2013 8:25 pm ] |
Post subject: | RE:beginner need help for button!! |
is it possible for me to make my own button? or which way is more easily to understand? |
Author: | Raknarg [ Sun Apr 21, 2013 8:40 pm ] | ||
Post subject: | RE:beginner need help for button!! | ||
well learning to make your own buttons will probably help you in the long run. Of course you can! There's a command in turing called Mouse.Where (x, y, b). You make three variables that represent your mouses x, y and button values, and every time you call the procedure, it will update your mouses state. Here's a simple example:
So when mb = 0, that means that no button is being pressed. If it is a 1, then it is being pressed. This program here makes a red trail when no button is pressed, and a blue one when it is. This Mouse.Where, you can make your own buttons. If you still need help, I'll show you how to make a super basic one. |
Author: | Lucy Xu [ Fri Apr 26, 2013 6:36 pm ] |
Post subject: | RE:beginner need help for button!! |
thanks!! i got it ~~ |