Hangman Game

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
codeee
Posts: 2
Joined: Thu Dec 10, 2015 5:55 am

Hangman Game

Post by codeee » Thu Dec 10, 2015 6:03 am

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

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: Hangman Game

Post by MaxV » Tue Dec 29, 2015 6:00 pm

Use the Application browser, it's in the Edit menu.
The last column show you the number of lines of code of each element.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10331
Joined: Wed May 06, 2009 2:28 pm

Re: Hangman Game

Post by dunbarx » Tue Dec 29, 2015 6:15 pm

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

Post Reply