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

Minor fixes #5

Closed DominiqueMakowski closed 1 week ago

DominiqueMakowski commented 1 week ago

In our pilots randomID is always the same: image

Could it be a seed issue?

DominiqueMakowski commented 1 week ago

But it works for the filename?

image

Like 7 randomstring + datetime: mK5HoLT04112024 (note the 04/11/2024)

@BenjaminTribe

DominiqueMakowski commented 1 week ago

Note for future: one possible solution to the slow loading, especially in the future where we will have more levels and more assets, will be to "manually" load the assets during the game. i.e., keep initialization super lightway, and then starting with a "Loading Game" loading bar that will then stream in all the assets, but at least participants will know that something's happening

Max-Lovell commented 1 week ago

I've increased all the screens to 4 seconds as it was all using 1 var. lmk if you think it feels off anywhere and I can handle them individually.

The random ID issue also affects the startDate (and potentially screen size) fields FYI - something I missed about Unity's 'field serialisation' is that the values are stored in the editor if initialised in the class constructor.... anyway, should be fixed now.

As for loading screen, are you sure you want to prioritise loading speed over runtime speed? Also, are you thinking of Asset Bundles? There is stuff you can do with build settings but these are kind of hidden away by gameCI... might be something I can do about it though: https://game.ci/docs/github/builder#configuration-options. Can give load speed another look soon.

Instead of an initial blank background would be nice to have a loading screen. I bet it'll be a pain as it will be inside the HTML template and not unity, but useful when done properly. Once I've got enough of these solutions we could think about some sort of unity package (unityPsych) that sets up a project with the functions you'd tend to need already available.

DominiqueMakowski commented 1 week ago

from 1s to 4? Might be too long no? I think it's really just the first one that has the longest text and once they are engaged they can read the rest. I'd say to change the first from 1 -> 2 and leave the rest as is

For the loading screen we'll see how it goes, my guess is that it will only become a problem in the future once the game is heavier and have more assets

Max-Lovell commented 1 week ago

Each slide was up for 3 seconds previously, so just added a second - I think it works just as well tbf

DominiqueMakowski commented 1 week ago

alright then cheers!