Page 1 of 1

Make HP with 2 Animation

PostPosted: Sun Sep 19, 2010 8:13 am
by Wertyboy
How to i make HP with 2 animation (in 1 Actor)

Re: Make HP with 2 Animation

PostPosted: Sun Sep 19, 2010 2:11 pm
by savvy
just do this all the way to the end

Re: Make HP with 2 Animation

PostPosted: Fri Nov 19, 2010 12:55 pm
by Wertyboy
What next?

Re: Make HP with 2 Animation

PostPosted: Fri Nov 19, 2010 3:24 pm
by Wertyboy
Hello?

Re: Make HP with 2 Animation

PostPosted: Fri Nov 19, 2010 5:11 pm
by Turon
I have the same problems! :(

Re: Make HP with 2 Animation

PostPosted: Fri Nov 19, 2010 8:15 pm
by skydereign

Re: Make HP with 2 Animation

PostPosted: Fri Nov 19, 2010 8:35 pm
by Leif
There are two ways (see attach)

1. Make an animation withs many states of hit points (left up)
2. Draw on canvas in appropriate coordinates (right up)

See attach. Ask, if not clear )

Re: Make HP with 2 Animation

PostPosted: Sat Nov 20, 2010 1:01 am
by Wertyboy
thx :D but............... how i get the code to fighting game?
i need demo have:
Key Down Left: HP-=1;
Key Down Right: HP+=1;
JUST 1 HP bar

Re: Make HP with 2 Animation

PostPosted: Sat Nov 20, 2010 1:26 am
by skydereign
Here.

-Edit
I'd use Chai's version. This ged shows what you wanted, but isn't dynamic, so it only works for bars that have max hp equal to 10, and so on.

Re: Make HP with 2 Animation

PostPosted: Sat Nov 20, 2010 7:27 am
by Chai

Re: Make HP with 2 Animation

PostPosted: Sat Nov 20, 2010 9:49 am
by Leif
JUST 1 HP bar

:lol: It's just an example ))

how i get the code to fighting game?


Ok, In this topic you already have enough information to do this. If you can not do it now - make the other things and then you can ask someone to put HP code into your game. :)