Can I add a flash game in my experiment?


Author
Message
himandy
himandy
Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)
Group: Forum Members
Posts: 15, Visits: 1

During my experiment, I need participants to play a small game. Can I make it with Inquisit 2.0?


the file type of flash is *.swf.


thanks


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: 12K, Visits: 98K
You definitely can with Inquisit 3 - I also think Inquisit 2 can handle this (but I'm not 100% sure). But hey, just try it. The most important thing to be aware of is that you'll need to use the <video> element to embed your flash file. Actually, there's a sample available here that also contains a flash animation. Check it out.

~Dave

himandy
himandy
Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)
Group: Forum Members
Posts: 15, Visits: 1

Thanks, Dave. It works!


By the way, I have another question. Can participants decide how many trials they run on their own?


For instance, if participants want to play again, they click one button, and the trial runs again (because I want to record the latency of the trial too). And if participants want to stop the game, they click another button, and the game block comes to an end.


Is there any command or sample script similar to this function?


himandy
himandy
Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)
Group: Forum Members
Posts: 15, Visits: 1
oh, I found it in the welcome sample. thanks

himandy
himandy
Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)
Group: Forum Members
Posts: 15, Visits: 1

What can I do, if I want participants to click one buttom to play again the flash game in another trial, and not clicking the "replay" within the flash game to play in the same trial?


I can creat the next-trial buttom, but I can't hold the flash inactive after participants have run one round of the game. Is there any script to make the flash inactive? During the game, participants should keep pressing down the mouse key. When they press down the key, the game begins, and when they release, the game stops and shows the latency. Can Inquisit detect these changes? If yes, I can mask the flash at that time.


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: 12K, Visits: 98K
As far as I know, there's no way for Inquisit to access the information provided by the flash applet. Regarding the other questions, I'd recommed to modify the flash game itself to not offer a replay option. You can then use Inquisit's branching features to let participants decide to either play the game again or to advance to the next part of your experiment.

Hope this helps,
~Dave

himandy
himandy
Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)
Group: Forum Members
Posts: 15, Visits: 1
Thanks, I agree that I have to modify the flash game without a replay option. I am trying.

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: 12K, Visits: 98K
Good luck. Let me know how things turn out.

~Dave

himandy
himandy
Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)Distinguished Member (2.5K reputation)
Group: Forum Members
Posts: 15, Visits: 1
Thanks, Dave.

I transfered the *.swf game back into *.fla, and used Macromedia Flash to delete the replay option. Finally, I retransfered it into *.swf.

I added two <text> as responds for the game playing trial, naming "Next task" and "Play again". And with <vedio> and "/ responsetrial" in <trial>, our participants can play the game as many times as they want now. The latency data are recorded as a new trial for each time.

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: 12K, Visits: 98K
Thanks for posting the update. It's good to see it's working for you now. Good luck with your research!

~Dave

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search