This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2008-07-25 17:15:31

NAM1021
Scratcher
Registered: 2008-07-25
Posts: 15

Help from anyone!!

I am trying to make a hangman but i can't figure out how to make the guy when you get a wrong letter. i want it so it can be built in order but with random letters so if you could help that would be good.

Last edited by NAM1021 (2008-07-25 17:31:00)


Click [NAM1021]

Offline

 

#2 2008-07-25 17:16:19

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Re: Help from anyone!!

Alright. I got this people (in the next post)


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

#3 2008-07-25 17:20:02

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Re: Help from anyone!!

So, when you guess a wrong letter, you broadcast a message (in this case- wrong). Now, you are going to have a sprite called parts. It will have the head costume, the body, one arm, another arm, and than the legs. Now, when the green flag is clicked you will set the variable- costume_change -to 1. Now, when the sprite of the "hanging guy" receives wrong, it will switch it's costume to costume_change, go accordingly to the right position (so it's head isn't where it's feet are  tongue ) and stamp, than change costume_cange by 1. Kinda like this:

<when I receive[ wrong
<go to x sad  proper X position (so it doesn't look messed up) )y sad  same here
<switch to costume[  <{ costume_change  }>
<stamp>
<change{ costume_change  }by( 1


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

#4 2008-07-25 17:23:54

NAM1021
Scratcher
Registered: 2008-07-25
Posts: 15

Re: Help from anyone!!

Thanks for that is saved my day.

This is also DESIGN just to let you know.


Click [NAM1021]

Offline

 

#5 2008-07-25 17:25:39

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Re: Help from anyone!!

NAM1021 wrote:

Thanks for that is saved my day.

This is also DESIGN just to let you know.

Why'd you make another account? oh well, your welcome!


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

#6 2008-07-25 17:26:43

NAM1021
Scratcher
Registered: 2008-07-25
Posts: 15

Re: Help from anyone!!

my other one was the wrong email. Thanks Again.


Click [NAM1021]

Offline

 

#7 2008-07-25 17:28:50

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Re: Help from anyone!!

NAM1021 wrote:

my other one was the wrong email. Thanks Again.

Oh lol. And leave a link to this game on one of mine when your done so I can see it.


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

#8 2008-07-25 17:31:28

NAM1021
Scratcher
Registered: 2008-07-25
Posts: 15

Re: Help from anyone!!

Ok


Click [NAM1021]

Offline

 

#9 2008-08-10 17:34:37

NAM1021
Scratcher
Registered: 2008-07-25
Posts: 15

Re: Help from anyone!!

NAM1021 here please anyone who knows how to explain it better than Bluestripe please help i have been working on this game forever and i want to get it done. please please !!!!!!!




<when[NAM1021]clicked>


Click [NAM1021]

Offline

 

#10 2008-08-18 13:10:32

jwiens
Scratcher
Registered: 2007-10-17
Posts: 39

Re: Help from anyone!!

craploads of variables. like one for each letter in the puzzle. one on each letter of the puzzle to see if its in the puzzle. so example.
<when green flag clicked>
<forever>
<if><( <{ im in the puzzle }> <=> 1 )>
<if><key[ A ]pressed?>
<if><( found <=> 0 )>
<set{ found }to( 1
<switch to costume[ found
<else>
<wait until><( puzzle <=> x )>

Offline

 

Board footer