hello.
I'm working on a school project and i've been asked to create a game using a random dice (which i have done)
there are two characters that start with full strength and skill
and there is a six sided dice
the character that has the highest adds their score to the skill and strength but the person with the lowest subtracts it
when one character reaches 0 on the strength they die but if they reach 0 on the skill nothing happens.
how would i do this?
thanks
anything would be helpful
Offline
jameslister97 wrote:
hello.
I'm working on a school project and i've been asked to create a game using a random dice (which i have done)
there are two characters that start with full strength and skill
and there is a six sided dice
the character that has the highest adds their score to the skill and strength but the person with the lowest subtracts it
when one character reaches 0 on the strength they die but if they reach 0 on the skill nothing happens.
how would i do this?
thanks
anything would be helpful
Well, seeing as this is a class project or something along those lines, I can't give you the scripts, though I can still help. First, for your character's stats, your going to need some way to store their information, and that's going to be done through variables, which you'll need 4 of (one per stat and two per character). Then, you'll need to create two more variables for the dice rolls (so that you can store them), use the random operator, and you should be on your path to completion!
I hope that this helps! Also, hello jameslister97 and welcome to Scratch! I hope that you'll have good luck in your class!
Offline
This seems to be a duplicate of another topic that you have over here. Please just use one topic per issue so the conversation doesn't get split up. I'll close this one; please use the older one in the link above. Thanks!
Offline