π§© DiceRoll
An extension for MIT App Inventor 2.developed by th using Fast.
Realistic Dice Roller extension to roll a dice and fire event with the number.
Telegram | GitHub
Blogger | YouTube
Find More Extension
Terms & Conditions
Specifications
Package: io.th.diceroll.diceroll
Size: 10.88 KB
Version: 1.1
Minimum API Level: 7
Updated On: 2025-04-21T18:30:00Z
Built & documented using: FAST v2.8.4
io.th.diceroll.diceroll.aix (10.9 KB)
dice_roll.aia (13.3 KB)
Find apk and more info on GitHub
Demo
Blocks
Event:
DiceRoll has total 1 event.
DiceRolled
Event triggered after rolling the dice. Returns a number between 1 and 6.
Parameter | Type |
---|---|
number | number |
Methods:
DiceRoll has total 2 methods.
Initialize
Initialize inside an arrangement.
Parameter | Type |
---|---|
arrangement | component |
RollDice
Rolls the dice and fires the DiceRolled event with a number from 1 to 6.
Setters:
DiceRoll has total 4 setter properties.
DiceBodyColor
Set the color of the dice body.
- Input type:
number
DiceDotsColor
Set the color of the dice dots.
- Input type:
number
DiceSize
Set the size of the dice (in pixels).
- Input type:
number
CornerRadius
Set the corner radius of the dice (0 for sharp corners).
- Input type:
number
Getters:
DiceRoll has total 4 getter properties.
DiceBodyColor
Set the color of the dice body.
- Return type:
number
DiceDotsColor
Set the color of the dice dots.
- Return type:
number
DiceSize
Set the size of the dice (in pixels).
- Return type:
number
CornerRadius
Set the corner radius of the dice (0 for sharp corners).
- Return type:
number
Thanks
TechHamara
Fill free to contact us any quarry or Suggestions.