Easy Way To Make Health Bar

Talk about making games.

Postby lilmuleman214 » Fri Jul 27, 2007 7:08 pm

ok sorry guys. hopefully this will be my last question. i did every step exept step 2. how do I stop it in draw actor.
Life is to good to waste
Go To http://www.Game-junkiez.us
to play/download my games.
User avatar
lilmuleman214
 
Posts: 102
Joined: Wed Jul 25, 2007 6:42 pm
Score: 5 Give a positive score

Postby DilloDude » Fri Jul 27, 2007 11:43 pm

Add a create actor event, with the action 'ChangeAnimationDirection' and set the direction to 'STOPPED' (or use the ChangeAnimationDirection function in script editor).
Image
User avatar
DilloDude
 
Posts: 866
Joined: Tue Jan 24, 2006 9:51 am
Location: Nyerellion
Score: 58 Give a positive score

Postby lilmuleman214 » Sat Jul 28, 2007 1:14 am

thanks. Does anybody know how i would make my main character disapear or die after the health bar runs out of 'health'.
Life is to good to waste
Go To http://www.Game-junkiez.us
to play/download my games.
User avatar
lilmuleman214
 
Posts: 102
Joined: Wed Jul 25, 2007 6:42 pm
Score: 5 Give a positive score

Postby arcreamer » Sat Jul 28, 2007 4:01 am

when i type this in A collision with B... HealthBar.animpos++;

is says "Illegal Structure Operation" but i put in the HealthBar variable what did i do wrong??
arcreamer
 
Posts: 398
Joined: Tue Jul 03, 2007 4:08 pm
Score: 9 Give a positive score

Postby arcreamer » Sat Jul 28, 2007 5:05 am

i found out how to do i had to make the healthbar's name HealthBar instead of making a variable called that... thanks caaz!
arcreamer
 
Posts: 398
Joined: Tue Jul 03, 2007 4:08 pm
Score: 9 Give a positive score

Postby Caaz Games » Sat Jul 28, 2007 3:21 pm

your welcome, and cool avatar thingy
You are welcome to join my forum. 4 active members lol but it's a cool place. active... much talking :D it's fun!
http://caaz.freeforums.org/
User avatar
Caaz Games
 
Posts: 729
Joined: Wed Feb 14, 2007 9:09 am
Location: California....knows how to party!
Score: 25 Give a positive score

Re: Easy Way To Make Health Bar

Postby daunknowna » Mon Jul 27, 2009 2:02 am

I can't seem to get the health packet to work. Might someone help me? :?:
daunknowna
 
Posts: 1
Joined: Wed Jul 22, 2009 11:50 pm
Score: 0 Give a positive score

Previous

Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest