Skip to content

Commit

Permalink
add fixation cross to practice
Browse files Browse the repository at this point in the history
  • Loading branch information
Shotgunosine committed Nov 13, 2024
1 parent a74a156 commit 8bbc775
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tasks/flanker/instruct.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ def Instruct(self, config, lang="E"):
Background = Image(source = config.BACKGROUND_IMAGE, size = (self.exp.screen.size[0] * 1.1,
self.exp.screen.size[1] * 1.1),
allow_stretch = True, keep_ratio = False, blocking = False)
fix = Label(text='+', color=config.CROSS_COLOR,
font_size=s(config.CROSS_FONTSIZE), blocking = False)
Ellipse(color='red', size=(s(55),s(55)),
center_x=self.exp.screen.center_x + prac_ev.current[2]*s(config.FROM_CENTER),
center_y=self.exp.screen.center_y + prac_ev.current[3]*s(config.FROM_CENTER),
Expand Down Expand Up @@ -275,6 +277,9 @@ def Instruct(self, config, lang="E"):
Background = Image(source = config.BACKGROUND_IMAGE, size = (self.exp.screen.size[0] * 1.1,
self.exp.screen.size[1] * 1.1),
allow_stretch = True, keep_ratio = False, blocking = False)
fix = Label(text='+', color=config.CROSS_COLOR,
font_size=s(config.CROSS_FONTSIZE),
blocking=False)
p5 = Trial(config, direct=prac_ev.current[0],
center_x=self.exp.screen.center_x + prac_ev.current[2]*s(config.FROM_CENTER),
center_y=self.exp.screen.center_y + prac_ev.current[3]*s(config.FROM_CENTER),
Expand Down

0 comments on commit 8bbc775

Please sign in to comment.