Hello, I am bashing my head and searching the forum for maybe 5 or even 6 hours trying to find a solution on how to make an editable RPG style character sheet.
Actually, what I am trying to make is not a game, but an app that will help RPG (Warhammer 40k to be more precise) gamers to roll their skills and attacks on their mobile device.
For people who never played Warhammer 40k RPG: when you want to roll a skill, you throw d100 - random(1, 100), and subtract that number from your characteristic (Strength, Intelligence, etc.), and add some bonuses.
Example: you roll your Awareness skill, which is your Perception characteristic + 10 bonus = 43, and you roll 32 on dices, it means you passed for 11%, which means 1 degree of success. If you got 52 on your dice, it would mean you failed for 1 degree, and so on.
The problem is, there are a lot of skills and classes, and I can't make 1000 different text objects for every skill with bonus check boxes. So it would be nice to be able to manually add skills you need, enter which characteristic to look for when rolling, and to add bonuses.
The best scenario I can imagine would be to have a text box where you can enter a name of the skill, next to it a box where you enter which characteristic to look for (a drop down list would be even better), and a box to enter a bonus (when you level up). When you click OK, it turns to plain text on which you can click to roll that skill, and if you click and hold it turns back to editable box text. Underneath would be a + icon to add another skill, so you can add as much as you want.
This part I could work something up, but I would pretty much love to be able to save that sheet so players could use it sometime again, maybe even to be able to store more than one character
I have never used Arrays or Dictionary, I guess something like that could work, but I don't know how. If you could direct me where to look or help me in any way, I wold be very grateful!