mirror of https://github.com/espruino/BangleApps
decreased vibration strength
parent
7af12fd68e
commit
d64609aa92
|
@ -3,3 +3,4 @@
|
||||||
1.01: fixed bug that caused rolled dice on the right of screen to be writ off-screen
|
1.01: fixed bug that caused rolled dice on the right of screen to be writ off-screen
|
||||||
1.02: added vibration when dice is rolled
|
1.02: added vibration when dice is rolled
|
||||||
1.03: vibration caused the accelerometer to never stop
|
1.03: vibration caused the accelerometer to never stop
|
||||||
|
1.04: decreased vibration strength
|
||||||
|
|
|
@ -109,7 +109,7 @@ function rollDice() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Bangle.buzz();
|
Bangle.buzz (200, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
function random (max) {
|
function random (max) {
|
||||||
|
@ -121,7 +121,7 @@ drawMenu();
|
||||||
Bangle.on ('touch', touchHandler);
|
Bangle.on ('touch', touchHandler);
|
||||||
Bangle.on ('accel', function (xyz) {
|
Bangle.on ('accel', function (xyz) {
|
||||||
|
|
||||||
if (xyz.diff >= 0.5) {
|
if (xyz.diff >= 0.4) {
|
||||||
|
|
||||||
menu = false;
|
menu = false;
|
||||||
rollDice();
|
rollDice();
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ "id": "multidice",
|
{ "id": "multidice",
|
||||||
"name": "multiple dice roller",
|
"name": "multiple dice roller",
|
||||||
"shortName":"multidice",
|
"shortName":"multidice",
|
||||||
"version":"1.03",
|
"version":"1.04",
|
||||||
"description": "roll anywhere from 1-8 dice at the same time",
|
"description": "roll anywhere from 1-8 dice at the same time",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"tags": "tool,game",
|
"tags": "tool,game",
|
||||||
|
|
Loading…
Reference in New Issue