Smooth And Steady Healthbar, To make your healthbar seem more smooth during increase and decrease. |
This forum is for clear and concise tutorials and well documented examples. Tutorials and examples posted here must follow the format in the pinned Rules and Guidelines.
All new topics must be approved by a moderator before they appear. Don't post twice!
![]() ![]() |
Smooth And Steady Healthbar, To make your healthbar seem more smooth during increase and decrease. |
Oct 9 2008, 02:56 AM
Post
#1
|
|
|
GMC Member Group: GMC Member Posts: 25 Joined: 16-December 05 Member No.: 40928 |
Additional Info Use of the example: -To implement this system into your game, simply merge your game with this example. -Next you can use either the little circle player, or the bar for your own use. -To make more things have this system, make a new object that has the parent object0_sh for anyone you want it to use. -Use this code to set your own health for the new object, setting the variables to your own: CODE event_inherited() -Then you can make collision events of any type of events to increase or decrease health likehp=5000 maxhp=hp script_execute(create_steady_healthbar,hp) the bullets in this example. If you encounter some problems with the example, there is a mini FAQ in the help file there. Good Luck, hope you like this example! This post has been edited by sigonasr: Oct 10 2008, 01:56 AM |
|
|
|
Oct 10 2008, 01:16 AM
Post
#2
|
|
|
GMC Member Group: GMC Member Posts: 510 Joined: 11-September 07 Member No.: 88208 |
Nice example!
For implementing it into the game, do you mean to "make object0_sh the parent"? |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 9th February 2010 - 04:35 PM |