Moving Stimuli in E-prime

David McFarlane mcfarla9 at msu.edu
Wed Dec 5 17:12:40 UTC 2012


A couple thoughts just to point you in some direction.  First, look at 
the Samples area of the PST website, you should find some examples of 
how to animate stimuli there.  Second, try just changing the X & Y 
properties of a Slide sub-object. E.g., put a SlideText sub-object onto 
a Slide, open the Property Pages for the SlideText object, and put 
[StimX] and [StimY] for the X & Y properties.  Now you may manipulate 
the StimX & StimY attributes either using a List or using c.SetAttrib in 
inline code.  (This works for simple animations, but for fancier things 
you might have to resort to Canvas programming; see the appropriate 
topics in the E-Basic Help facility).

Finally, I have a feeling this sort of thing has been answered before 
(maybe even by me, but I am away from the machine where I keep my 
E-Prime FAQ).  So search the Group and the PST User Forum using terms 
like "animate".  Good luck.

-----
David McFarlane
E-Prime training online: 
http://psychology.msu.edu/Workshops_Courses/eprime.aspx
Twitter:  @EPrimeMaster (twitter.com/EPrimeMaster)

/-----------
Stock reminder:  1) I do not work for PST.  2) PST's trained staff take 
any and all questions at 
http://support.pstnet.com/e%2Dprime/support/login.asp , and they strive 
to respond to all requests in 24-48 hours, so make full use of it.  3) 
In addition, PST offers several instructional videos on their YouTube 
channel (http://www.youtube.com/user/PSTNET ).  4) If you do get an 
answer from PST staff, please extend the courtesy of posting their reply 
back here for the sake of others.
\-----------


Alice Cai wrote:
> Hi,
> 
> I have a question regarding my experiment design. I would like to create 
> a moving stimuli where participants decide whether the box is moving 
> vertically or horizontally. I know that I can use different slides 
> changing at 50 ms. per slide with different locations for the box (left, 
> middle, right) but the problem is I will need to create a lot of slides 
> and the E-prime program runs out of memory space.
> 
> Is there any way to create just three slides, and have E-prime repeat 
> these three slides until participants give a response? And then the 
> experiment will jump to the next trial with three more slides?
> 
> Any help will be greatly appreciated! Thank you!

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



More information about the Eprime mailing list