1-5 damage

Non-platform specific questions.

1-5 damage

Postby BogdansB » Tue May 01, 2012 12:35 pm

hey,

I want to make a text on the screen, which shows you how much damage oyu make. in fight you make 1-5 damage. when you grow a level your damage state grows for about 15 percent. so next level it will be 1,15 - 15,75 damage.
how can i make the text show your damage?
BogdansB
 
Posts: 94
Joined: Tue Oct 25, 2011 2:30 pm
Score: 0 Give a positive score

Re: 1-5 damage

Postby skydereign » Tue May 01, 2012 2:00 pm

I don't think you numbers make sense. But, I recommend using a variable to hold how much damage you are going to deal (or a function to determine it based off of level). That way you can just set the text actor's textNumber equal to the variable/function call.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest