Make HP with 2 Animation

Talk about making games.

Make HP with 2 Animation

Postby Wertyboy » Sun Sep 19, 2010 8:13 am

How to i make HP with 2 animation (in 1 Actor)
Attachments
01.gif
Full
02.gif
Empty
User avatar
Wertyboy
 
Posts: 543
Joined: Tue Jun 15, 2010 12:38 pm
Location: HCM City, Vietnam
Score: 44 Give a positive score

Re: Make HP with 2 Animation

Postby savvy » Sun Sep 19, 2010 2:11 pm

just do this all the way to the end
Attachments
WERTY, DO THIS!.png
--> For my help, i ask for a simple +1 if it helps! ^-^
--> I dont code, I type art which you dont understand.
--> I keep winning the 3D model challenge at college, teacher says: "you keep winning im not giving you prizes".
User avatar
savvy
 
Posts: 494
Joined: Wed Jun 03, 2009 11:55 am
Location: England
Score: 44 Give a positive score

Re: Make HP with 2 Animation

Postby Wertyboy » Fri Nov 19, 2010 12:55 pm

What next?
User avatar
Wertyboy
 
Posts: 543
Joined: Tue Jun 15, 2010 12:38 pm
Location: HCM City, Vietnam
Score: 44 Give a positive score

Re: Make HP with 2 Animation

Postby Wertyboy » Fri Nov 19, 2010 3:24 pm

Hello?
User avatar
Wertyboy
 
Posts: 543
Joined: Tue Jun 15, 2010 12:38 pm
Location: HCM City, Vietnam
Score: 44 Give a positive score

Re: Make HP with 2 Animation

Postby Turon » Fri Nov 19, 2010 5:11 pm

I have the same problems! :(
Turon
 
Posts: 862
Joined: Sun Jan 24, 2010 5:23 pm
Score: 32 Give a positive score

Re: Make HP with 2 Animation

Postby skydereign » Fri Nov 19, 2010 8:15 pm

User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Make HP with 2 Animation

Postby Leif » Fri Nov 19, 2010 8:35 pm

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 )
Attachments
Hit_Points.rar
(11.68 KiB) Downloaded 85 times
Repulsor beam + heavy cannons
User avatar
Leif
 
Posts: 147
Joined: Mon Dec 15, 2008 12:42 pm
Location: Moscow, Russia
Score: 10 Give a positive score

Re: Make HP with 2 Animation

Postby Wertyboy » Sat Nov 20, 2010 1:01 am

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
User avatar
Wertyboy
 
Posts: 543
Joined: Tue Jun 15, 2010 12:38 pm
Location: HCM City, Vietnam
Score: 44 Give a positive score

Re: Make HP with 2 Animation

Postby skydereign » Sat Nov 20, 2010 1:26 am

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.
Attachments
hpbar.zip
(3.81 KiB) Downloaded 71 times
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: Make HP with 2 Animation

Postby Chai » Sat Nov 20, 2010 7:27 am

User avatar
Chai
 
Posts: 361
Joined: Sat Apr 30, 2005 2:26 pm
Location: Thailand
Score: 30 Give a positive score

Re: Make HP with 2 Animation

Postby Leif » Sat Nov 20, 2010 9:49 am

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. :)
Repulsor beam + heavy cannons
User avatar
Leif
 
Posts: 147
Joined: Mon Dec 15, 2008 12:42 pm
Location: Moscow, Russia
Score: 10 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest