SussexPsychologySoftware / DoggoNogo

Gamified response inhibition reaction time tasks
https://sussexpsychologysoftware.github.io/DoggoNogo/?datapipe=AlXXHjfLwVP3&p=John%20Smith&s=Original%20Study&l1n=60
2 stars 2 forks source link

Local physio version #6

Open DominiqueMakowski opened 2 weeks ago

DominiqueMakowski commented 2 weeks ago

As talked about this morning, at some point with @BenjaminTribe we'd like to have a local version compatible with physio/eeg, and that means:

1) saving data locally probably 2) having a white square in the corner of the screen that turns black on stimulus appearance

@Max-Lovell if you have any advice

Max-Lovell commented 2 weeks ago

Sure - firstly this should probably be on it's own branch.

  1. The data is in JSON already, you'll just want to add a method here: https://github.com/Sussex-Psychology-Software-Team/DoggoNogo/blob/main/Assets/Scripts/Data/DataManager.cs which saves it to a local file with probably the same parameters as are used to send the data with datapipe, and make sure it gets called with the other file.

  2. Can probably just make a square of 1x1 units, anchored to the top right under the canvas. Most important is to add a 'Layout Element' component to the square and tick 'ignore layout'.

Good luck! let me know how you get on.