hcilab / Momo

The Falling Of Momo.
MIT License
4 stars 1 forks source link

Provide a visual cue to the user during armband connect. #77

Closed aarontabor closed 7 years ago

aarontabor commented 7 years ago

It takes a couple of seconds to establish a bluetooth LE connection with the Myo armband. During this time (which happens immediately after clicking either the "left" or "right" forearm button in the calibration wizard), the game simply hangs and provides no feedback to the user that something is happening.

Proposed solution

aarontabor commented 7 years ago

Is the icon we want one of these?

https://processing.org/reference/cursor_.html

scottbateman commented 7 years ago

I think we want something like this: http://www.stikes-aisyiyah.ac.id/daftar/media/public/img/loaders/loading4.gif

Here is an example of creating image based animations: https://processing.org/examples/animatedsprite.html

aarontabor commented 7 years ago

To make the cursor display as a throbber, use the following line:

cursor(WAIT);

You can switch it back with:

cursor(ARROW);