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:
The help button:
The enter button:
But thats the REALLY complicated way.
Please comment on what you think!
~Karx~
Offline