murray83
Games Collector
- Local time
- Today, 17:08
- Joined
- Mar 31, 2017
- Messages
- 728
Not sure if this is the correct place or if it should be on forms, if so i apologies
so get straight to it, i have a button which rolls 2 die, they then get added together which is the damaged dealt which is then taken from the health figure which is 100. so far so good and quite easy, but now here comes the head scratcher
if i wanted to have this done again for the players health from the bad guys attack, would you suggest duplicating the code and die images, just naming them different and put it at the end of the button press code
you can see my demo which is just you attacking but i would like it for you to attack and then you get hit for random amount
so get straight to it, i have a button which rolls 2 die, they then get added together which is the damaged dealt which is then taken from the health figure which is 100. so far so good and quite easy, but now here comes the head scratcher
if i wanted to have this done again for the players health from the bad guys attack, would you suggest duplicating the code and die images, just naming them different and put it at the end of the button press code
you can see my demo which is just you attacking but i would like it for you to attack and then you get hit for random amount