| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
flash idiot
|
hello
i,m trying to create a fighting game where i use the hitest action a lot anyways while working on it i've decided to create the life bar by using the code for a bar peloader and it doen't work at all do any one know how I can make the bar go down by 5% every time a character hits another ![]() |
|
|
|
|
|
#2 |
|
Oops I did it again
Join Date: Oct 2001
Location: Melbourne
Posts: 8,578
|
draw your bar mc and make sure its registration point is set to center left
//hit test code _root.bar._xscale-=5; cheers
__________________
Billy Online Galleries Free Flash Video Tutorials Photo Website Template Don't email or PM me questions... |
|
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|