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.
thanks
anything would be helpful
Offline
What do you need help with?
Offline
James, it sounds like your exit condition logic needs to change.
From what you're saying you have two sprites which have an exit condition that looks like this (from player 1's theoretical code):
if < [strength v] = [0] > broadcast [player 2 win v] end if < [skill v] = [0] > broadcast [player 2 win v] endWell I was going to use scratchblocks, however scratchblocks can go throw itself into a singluarity because making it express an "or" condition is rubbish when "<" chars are involved.
Last edited by dechan (2013-02-04 19:48:09)
Offline
thank you very much that is very helpful
i just need to know how to code the math of it all shouldn't be to hard
thanks again
Offline