ID:159415
 
need code for bars such as hp and chakra for my naruto game i need them to upgrade when ppl level up and decrease when people are in fight ^^
Please note that this is Developer How-To, NOT Code Request.

There are a few HUD demos you can look for which shows how to make these "bars" as you call them.

You can also use the bar elements from the interface to do this as well, requires less work but you need to understand how to make skins and how to modify it.

This is a perfect place for modular programming (forum search if you do not know what that means). Why manually update/call these procs in a million spots (or a million times in a minute,per say) when you can make those million spots call a general procedure (ex: TakeHP()) which calls the bar to update when needed.
In response to GhostAnime
ty btw there is no code requiest lol i was just basically asking how to make thecode ^^
In response to Jakb2k7
Jakb2k7 wrote:
ty btw there is no code requiest lol i was just basically asking how to make thecode ^^

You're welcome, but if that is the case, make sure you how others will understand what you posted:

Jakb2k7 wrote:
need code for bars such as hp and chakra for my naruto game i need them to upgrade when ppl level up and decrease when people are in fight ^^


You said "need code", which to me, sounded like... well, you wanted a specific code.

Take your time when making a posting, you're in no rush and people will be able to understand what you mean better.
In response to GhostAnime
okies ^^ add my msn plz if ur intersted in helping me code this game [email protected]
If you want to use the bar element built into the Dream Maker skin editor, then you'll want to look up the winset() proc and look at the skin reference which can be accessed from your Dream Maker under the Help menu.