N
Nasaki
Guest
So currently I'm working on a game where the battle system is completely RNG based kinda like D and D where number values determine damage or crits. I was able to get a dice working but i noticed that you can continuously press the right key to continue rolling which is something that shouldn't be available is there something i can do about this?
Also there are currently 3 different dices each does something different which i will go into detail below:
1. Crit dice: This is a 4 sided dice that is labeled as 0,1,2,3 which is a multiplier for your damage dice that obviously increases your damage if you land on it.
2. Damage dice: This is a 4 sided dice (can be upgraded to 6 sided) that has set numbers depending on the dice level (lvl. 1 is 4 reaches 4, lvl. 2 is a 5 sided reaches max 5, and lvl 3 is max number 6) and every so often a glow will appear on a random number (this is a crit glow I'm probably gonna need help programming that as well.
3. Item Dice: This is a 4 sided dice (can be upgraded) that uses items that are currently in your inventory but instead of numbers they are symbols that display either a buff, debuff , healing , or a S.S item which again i wanna make these dice consistent to be random and be only pressed once per turn.
I'm relatively new to GMS 2 and I hope I can get some good advice or some code that i can use as a basis or structure if anyone has some advice or some tips please let me know.
Also there are currently 3 different dices each does something different which i will go into detail below:
1. Crit dice: This is a 4 sided dice that is labeled as 0,1,2,3 which is a multiplier for your damage dice that obviously increases your damage if you land on it.
2. Damage dice: This is a 4 sided dice (can be upgraded to 6 sided) that has set numbers depending on the dice level (lvl. 1 is 4 reaches 4, lvl. 2 is a 5 sided reaches max 5, and lvl 3 is max number 6) and every so often a glow will appear on a random number (this is a crit glow I'm probably gonna need help programming that as well.
3. Item Dice: This is a 4 sided dice (can be upgraded) that uses items that are currently in your inventory but instead of numbers they are symbols that display either a buff, debuff , healing , or a S.S item which again i wanna make these dice consistent to be random and be only pressed once per turn.
I'm relatively new to GMS 2 and I hope I can get some good advice or some code that i can use as a basis or structure if anyone has some advice or some tips please let me know.