canvas教程

Eprime高级使用技巧PPT.ppt

字号+ 作者:H5之家 来源:H5之家 2015-11-13 17:00 我要评论( )

文档分类:IT计算机 > 管理信息系统 Eprime高级使用技巧PPT.ppt 在线文档经过高度压缩,下载原文更清晰。 淘豆网网友zgs35866近日为您收集整理了关于Eprime高级使用技巧PPT的文档,希望对您的工作和学习有所帮助。以下是文档介绍:Eprime高级使用技巧PPT 1 o

文档分类:IT计算机 > 管理信息系统 Eprime高级使用技巧PPT.ppt

在线文档经过高度压缩,下载原文更清晰。

淘豆网网友zgs35866近日为您收集整理了关于Eprime高级使用技巧PPT的文档,希望对您的工作和学习有所帮助。以下是文档介绍:Eprime高级使用技巧PPT 1 of 20AdvancedAdvanced Exercises (1-4)E-Prime 2002 WorkshopFiles on C:\My Experiments\Workshop\E-Prime ExercisesE-Prime Advanced Exercises2 of 20AdvancedList of Adanced Exercises 1. StringInput 2. Response Areas for Mouse Input 3. Sprite Animation 4. Suspend and Resume3 of 20AdvancedExercise 1: StringInput This example illustrates the use of string input. The subjectis presented with a question and is asked to type aresponse. The subject's response echo's to the display,(来源:淘豆网[]) sothat they may see their response. String input in E-Prime is currently supported by setting theMaxCount parameter on the Advanced pages of theDuration/Input page. The MaxCount parameter allows youto set the maximum number of keys allowed for input. Thetermination response is also set in the Advanced pagesallowing you to select any key to terminate a trial. The echoproperty is set within the Advanced pages of theDuration/Input tab, and selecting (来源:淘豆网[])the echo tab, you willneed to add the Display device to echo. Load C:\My Experiments\Workshop\E-PrimeExercises\StringInput.es and run paradigm4 of 20AdvancedEdit Display Echo Color and Text1. Open TextDisplay1 propertypages, select Duration/Inputtab and click on the Advancedbutton2. Click on Echo tab, selectDisplay icon and click Edit4. Using the drop down menuschange Fore Color to “blue”and Back Color to “gray”5. Run program5 of 20AdvancedExercise(来源:淘豆网[]) 2: Response Areas for Mouse Input The sample demonstrates how to create response areas onthe screen, then collect and score mouse-click responsesbased on those areas. The experiment uses HitTest, amethod of the SlideState object which returns the stringname of a SlideImage or SlideText object at specifiedcoordinates. Load C:\My Experiments\Worskhop\E-PrimeExercises\Response Areas for Mouse and run paradigm6 of 20AdvancedAdd Another Response Area 1(来源:淘豆网[]). Open Stimulus object,select SlideText toolbutton, click in Slide gridarea in the center of the 4boxes 2. Double click on theSlideText sub-object toedit text, type [Center] 3. Select Text1 sub-object, open the propertypages and change BorderWidth to “1”7 of 20AdvancedEdit TrialList 4. Open TrialList Add another row Add CenterCenterattribute Type an “*” in thelast cell 5. Type5. Type CenterCenter ininthe Stimulus columnthe Stimulus columnandand Tex(来源:淘豆网[])t1Text1 in thein theCorrectAnswerCorrectAnswercolumncolumnNote, Text1 is theNote, Text1 is thename of thename of theTextSlide sub-objectTextSlide sub-object8 of 20AdvancedReview Code 6. Examine the code todetermine how E-Prime is able toidentify the location of the mouseclick. Find coordinates of mouse click(Mouse.GetCursorPos ptMouse.x,ptMouse.y) Determine string name of SlideTextobject at mouse click coordinates.Assign that value to strHit(strHit(来源:淘豆网[]) = theState.HitTest(ptMouse.x,ptMouse.y) Compare string name where mouse urred to CorrectAnswerattribute on each trial, and scoreresponse 7. Run program9 of 20AdvancedExercise 3: Sprite Animation This example illustrates the use of the Canvas object, off-screen canvases, the Rect structure, and transparency toperform smooth animation. The Canvas and CreateCanvasmethods of the Display object are used to manipulate thecurrent and off-screen canvases.(来源:淘豆网[]) The SourceColorKeymethod of the Canvas object and theebEffectSourceColorKey parameter used with the Copymethod of the Canvas method are used to presenttransparency.The Rect structure is used to track thelocation of small images written over the master image. Load C:\My Experiments\Workshop\E-PrimeExercises\SpriteAnimation.es and run Note – When running this example press “Enter” to exit program.10 of 20AdvancedReview Structure and Run Note the simplestructure of theprogram. Press Enter toterminate.

播放器加载中,请稍候...
系统无法检测到您的Adobe Flash Player版本
建议您在线安装最新版本的Flash Player 在线安装

更多>>该用户其他文档

  • 11 心理室书籍目录
  • 6 心理学统考复习建议
  • 10 心理学的实验研究
  • 17 心理学2010年全国考研真题卷(附答案)
  • 9 心理学2009年全国考研真题卷(附答案)
  • 105 心理咨询班-人格测验(新教材)
  • 下载所得到的文件列表

    Eprime高级使用技巧PPT.ppt

     

    1.本站遵循行业规范,任何转载的稿件都会明确标注作者和来源;2.本站的原创文章,请转载时务必注明文章作者和来源,不尊重原创的行为我们将追究责任;3.作者投稿可能会经我们编辑修改或补充。

    相关文章
    • Canvas学习:绘制矩形

      Canvas学习:绘制矩形

      2017-04-24 17:02

    • HTML5 Canvas Spinner

      HTML5 Canvas Spinner

      2017-04-10 09:00

    • Tutsplus – 高级PS技巧 Advanced Adobe Photoshop Techniques

      Tutsplus – 高级PS技巧 Advanced Adobe Photoshop Techniques

      2017-04-09 14:02

    • NPM使用技巧

      NPM使用技巧

      2017-04-09 14:01

    网友点评