Page 1 of 1

Hangman Game

Posted: Thu Dec 10, 2015 6:03 am
by codeee
I'm new to livecode and have only been working with it for the past few months. I'm trying to break apart the hangman game, found in the livecode lessons. The issue I am having with it is that I am unable to determine which section of the code defines that when a user clicks on the correct button (that corresponds with the data stored in the custom property) the answer button will appear. What I want to do with it is manipulate it so that instead clicking on the button to choose an answer I want to create an intersect feature to choose an answer, where the user uses the arrow keys to move an image or button to the answer button of their choice. Any ideas on which part of the code I need to change or how to begin doing this? Any information will help! Thanks

Re: Hangman Game

Posted: Tue Dec 29, 2015 6:00 pm
by MaxV
Use the Application browser, it's in the Edit menu.
The last column show you the number of lines of code of each element.

Re: Hangman Game

Posted: Tue Dec 29, 2015 6:15 pm
by dunbarx
What MaxV siad.

But that said, I never use the project (or application) browser. I would rather Cmd-Opt-Click on the control of interest (or the card) to open the script for that object. I find this much faster, at least when on a particular card. The stack script has to be opened from the menubar if you do it my way.

That said, finding things on other cards is easier using those IDE tools.

Craig Newman