This article applies to:
E-Prime 3.0
E-Prime 2.0
E-Prime 1.x
Detail
This sample experiment demonstrates two different methods (Slide object and Canvas) for implementing a Score Bar.
Abstract
The first method uses multiple 'SlideText' sub-objects arranged horizontally. After a participant responds, the appropriate sub-object is accessed using a 'SlideText' variable in 'InLine' script. The BackColor property of the 'SlideText' is then set to red or white as appropriate. This part of the experiment ends after 20 trials, or when the Score Bar is full.
The second method uses a Canvas object to draw a red rectangle across the bottom of the screen. The width of this rectangle increases by 100 pixels for each correct answer, and decreases by 100 pixels for each incorrect answer. This part of the experiment ends after 20 trials, or when the Score Bar is full.
Comments
0 comments
Please sign in to leave a comment.