We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › Help! programming a progressive program
Page Index Toggle Pages: 1
Help! programming a progressive program (Read 500 times)
Help! programming a progressive program
Apr 17th, 2010, 8:15am
 
I am working on a program where the interactor sees an image, is asked a question and once they answer it and click a button they move on to a new image, in the end of the program there will be a drawing too for them to use. I am having a hard time figuring out how to write the program so that it follows this linear progression.  Shocked . How do I write this!?
Re: Help! programming a progressive program
Reply #1 - Apr 17th, 2010, 9:57am
 
You have to have a state in your program. Or a counter.
While counter is at a given value, display the corresponding card/image and wait for feedback. Once feedback is provided, change state or increment counter.
Page Index Toggle Pages: 1