forked from FOSS/BangleApps
OH GOD IT FINALLY F*CKING WORKS
parent
2e92b04af5
commit
16bcc2ca6c
|
@ -26,3 +26,4 @@
|
|||
1.24: fixed dumb errors
|
||||
1.25: god I hope this works
|
||||
1.26: trying to add timeout after it's done buzzing... again
|
||||
1.27: OH GOD IT FINALLY WORKS
|
||||
|
|
|
@ -5,8 +5,8 @@ roll anywhere from 1-8 dice at the same time.
|
|||
|
||||
## Usage
|
||||
|
||||
On the menu screen: tap on the dice to change what variant is selected, & press the button to roll the dice
|
||||
On the dice screen: tap anywhere on the screen to go back to the menu, or press the button to roll the dice
|
||||
On the menu screen: tap on the dice to change what variant is selected, & shake/or press BTN to roll the dice
|
||||
On the dice screen: tap anywhere on the screen to go back to the menu, or shake/or press BTN to roll the dice
|
||||
|
||||
## Features
|
||||
|
||||
|
@ -14,5 +14,4 @@ roll anywhere from 1-8 dice (d4, d6, d8, d10, d12, d20, & d percentile). You can
|
|||
|
||||
## Controls
|
||||
|
||||
App uses touchscreen to cycle through different dice, and BTN to roll them
|
||||
(W.I.P. using acceleration to roll dice)
|
||||
App uses touchscreen to cycle through different dice, and accelerometer/BTN to roll them
|
||||
|
|
|
@ -81,7 +81,7 @@ function touchHandler (button, xy) {
|
|||
|
||||
function accelHandler (xyz) {
|
||||
|
||||
if (xyz.diff >= 0.4) {
|
||||
if (xyz.diff >= 0.3) {
|
||||
|
||||
menu = false;
|
||||
mutex (rollDice);
|
||||
|
@ -158,6 +158,7 @@ function vibrate() {
|
|||
});
|
||||
}
|
||||
|
||||
// returns a integer [1, max]
|
||||
function random (max) {
|
||||
|
||||
return Math.round (Math.random() * (max - 1) + 1);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ "id": "multidice",
|
||||
"name": "multiple dice roller",
|
||||
"shortName":"multidice",
|
||||
"version":"1.26",
|
||||
"version":"1.27",
|
||||
"description": "roll anywhere from 1-8 dice at the same time",
|
||||
"icon": "app.png",
|
||||
"tags": "tool,game",
|
||||
|
|
Loading…
Reference in New Issue