Hello all,
I wanted to create an app that can do three things:
Use different types of dice 6, 8, 10, 12, and 20 sided and use multiple die, not a single die.
Select a random tank, soldier, monster card image at random
Award random experience points or gold pieces (depending on the game)
I want to play RPG games and wargames solo. I live in a remote area and there aren’t players near me so this way the app works like a GM/DM
Can someone help me make this? I’m brand new and made a single die app but can’t figure out multiple die rolls, the random picture with hit points and info is easy, I think.
Thanks
I just made a 4-sided die roller, which is similar to what you already created.
To create multiple die rolls, just use that same function/set of blocks but run it again and assign the resulting value to a different label (or variable).
You’ll need to explain more about how this related to #1, if at all.
You’ll need to explain more about how this related to #1 and #2, if at all.
Okay, I opened blocks and see how that works. I wanted to do an if/then
if 3d6 then 1-18. if 2d6, then 1-12 where I enter number of dice and type - like this picture (my version of a flow chart).
Okay, I opened blocks and see how that works. I wanted to do an if/then
if 3d6 then 1-18. if 2d6, then 1-12 where I enter the number of die and type - like this picture (my version of a flow chart).
I’ve set it up so that the variable values are assigned based on what the user clicks in each List Viewer. Those variables could then be used to create each roll using a loop based on the number of dice and a random number block from 1 to the number of sides.
If you’re new to programming, this is going to take some time to create.
I updated the link after I posted it just now so if you clicked immediately, you may see code that doesn’t quite work. Try it now and it should be fine.
I’ll have to try yours tomorrow and see if I can get the screen to expand and show the die numbers.
I really appreciate your help. For my first time, I think I did okay. Can I actually turn this into an app I use on my phone or for retail in the app store?