Cyberball


Author
Message
marjalena
marjalena
Respected Member (402 reputation)Respected Member (402 reputation)Respected Member (402 reputation)Respected Member (402 reputation)Respected Member (402 reputation)Respected Member (402 reputation)Respected Member (402 reputation)Respected Member (402 reputation)Respected Member (402 reputation)
Group: Forum Members
Posts: 4, Visits: 43
Hello everybody

I just always used matlab so I'm very new in Inqusit. I have 2 questions regarding the Cyberball task in Inquisit:
1.: Can I also use the localhost version, as described on the cyberball wiki site, in Inquisit? And if I can not: How can I add a text during the game "You can throw the ball by clicking on the picture of another player" and at the end "thank you for your participation"?
2.: How can I define the triggers for SCR and ECG recordings when I would like to have one at the beginning of the task (trigger1="start game") and at the end of the task?

thank you for your help!!!
best,
marjalena
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
Re. #1: The information on that Wiki site has nothing to do with the Inquisit implementation. If you want to run the Inquisit script locally, download it and install Inquisit Lab ( https://www.millisecond.com/download/ ). If you want to run it via the web, you need an Inquisit Web license.
As for changing or adding any text that's displayed: Use Inquisit Lab to modify the script, i.e., change and/or add <text> and <item> elements as needed, have the applicable <trial> element display them.

Re. #2: You need to set up <port> elements in the Inquisit script, configured according to your needs. Set up a <trial> that "displays" the "start" <port> stimulus at the beginning of the game. Do the same for the "end" <port> signal at the end. Sending <port> signals works the same in Inquisit as displaying any other kind of stimulus (<text>, <picture>, <video>, etc.).

Before you delve into the Cyberball script, I'd recommend working through the tutorials in the Inquisit documentation. That'll introduce you to the basics of Inquisit syntax and should help you to make sense of more complex scripts you may want to modify.

marjalena
marjalena
Respected Member (402 reputation)Respected Member (402 reputation)Respected Member (402 reputation)Respected Member (402 reputation)Respected Member (402 reputation)Respected Member (402 reputation)Respected Member (402 reputation)Respected Member (402 reputation)Respected Member (402 reputation)
Group: Forum Members
Posts: 4, Visits: 43
Thank you very much for the information and fast response. I will try it out...
sophwatt
sophwatt
New Member (26 reputation)New Member (26 reputation)New Member (26 reputation)New Member (26 reputation)New Member (26 reputation)New Member (26 reputation)New Member (26 reputation)New Member (26 reputation)New Member (26 reputation)
Group: Forum Members
Posts: 2, Visits: 3
Hello all.
I have recently used inquisit 7 to create a cyberball game.
Is there anyway to change the color of the avatar itself and not just the avatar label?
I have one other question as well. Where do you look to change the behavior of the cyberguy? As of now, one of the players is hiding the ball when they catch it and the other is holding the ball visibly out infront of their body. How to I ensure the avatar does not hide the ball?

Thank you!
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
sophwatt - 11/19/2024
Hello all.
I have recently used inquisit 7 to create a cyberball game.
Is there anyway to change the color of the avatar itself and not just the avatar label?
I have one other question as well. Where do you look to change the behavior of the cyberguy? As of now, one of the players is hiding the ball when they catch it and the other is holding the ball visibly out infront of their body. How to I ensure the avatar does not hide the ball?

Thank you!

> Is there anyway to change the color of the avatar itself and not just the avatar label?

All you can do is replace the avatar images that come with the script with colored ones.

> I have one other question as well. Where do you look to change the behavior of the cyberguy? As of now, one of the players is hiding the ball when they catch it and the other is holding the ball visibly out infront of their body. How to I ensure the avatar does not hide the ball?

This misbehavior is caused by a typo in the script. To fix it, do a case-sensitive search and replace in the script.

Search for: player1state
Replace with: player1State





sophwatt
sophwatt
New Member (26 reputation)New Member (26 reputation)New Member (26 reputation)New Member (26 reputation)New Member (26 reputation)New Member (26 reputation)New Member (26 reputation)New Member (26 reputation)New Member (26 reputation)
Group: Forum Members
Posts: 2, Visits: 3
Dave - 11/19/2024
sophwatt - 11/19/2024
Hello all.
I have recently used inquisit 7 to create a cyberball game.
Is there anyway to change the color of the avatar itself and not just the avatar label?
I have one other question as well. Where do you look to change the behavior of the cyberguy? As of now, one of the players is hiding the ball when they catch it and the other is holding the ball visibly out infront of their body. How to I ensure the avatar does not hide the ball?

Thank you!

> Is there anyway to change the color of the avatar itself and not just the avatar label?

All you can do is replace the avatar images that come with the script with colored ones.

> I have one other question as well. Where do you look to change the behavior of the cyberguy? As of now, one of the players is hiding the ball when they catch it and the other is holding the ball visibly out infront of their body. How to I ensure the avatar does not hide the ball?

This misbehavior is caused by a typo in the script. To fix it, do a case-sensitive search and replace in the script.

Search for: player1state
Replace with: player1State





Thank you so much- this was very helpful!!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search