Hi there! I'm trying to make a game for blind people. Right now as a test, I'm making the device vibrate when the person slides their finger onto a square sprite.
So the user would start with their finger down at any point on the canvas, then would slide their finger across the screen without lifting it up. When it is anywhere within the boundary of the square, the device should vibrate continuously.
I've half-managed it using the 'draggedAnySprite' property, but it continues vibrating even when I drag my finger out of the square. Could anyone kindly let me know where I'm going wrong? Thank you!!
About:
This is a simulation of a silent watch for blind operation. Try to tell the time by slowly dragging your finger across the watch face. It is rigged to vibrate when you cross a hand or travel outside the watch face.