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

#1 2009-02-27 14:18:47

karx
Scratcher
Registered: 2008-04-28
Posts: 80

Karx Quiz Details

Hi Everyone!

Im making a simpler version on what i said in the project notes on this project: (The simple method)

Link To Project

Here is the simplified version:

Put this on the background:

<when green flag clicked>
<set{ <{ answer }> }to( 0

<when[ k ]key pressed>
<set{ <{ answer }>}to( 1

<when[ a ]key pressed>
<if> <( <{ answer }> <=> 1 )>

<set{ <{ answer }> }to( 2
<end>

<when[ r ]key pressed>
<if> <( <{ answer }> <=> 2 )>

<set{ <{ answer }> }to( 3
<end>

<when[ a ]key pressed>
<if> <( <{ answer }> <=> 1 )>

<set{ <{ answer }> }to( 4
<end>


Put this on the enter button:

<when[ answer button ]clicked>

<if> <( <{ answer }> <=> 3 )>

<broadcast[ correct

<else>

<broadcast[ incorrect

<end>


And lastly put this on the stage:

<when I receive[ correct

<switch to costume[ correct

<when I receive[ incorrect

<switch to costume[ incorrect

<when green flag clicked>

<switch to costume[ question


Hope this is easier!

Ok if you really want to know the complicated way here it is:

The background:

http://alex.snidfly.com/media/34.gif

The help button:

http://alex.snidfly.com/media/990890890.gif

The enter button:

http://alex.snidfly.com/media/98878.gif

But thats the REALLY complicated way.

Please comment on what you think!

~Karx~

Offline

 

Board footer