   Healthbar-Progressbar style Rendering..
  hi friends ...i want to know that how you render 2d healthbar style interface ?thanks..   
Quote:Original post by jamessshi friends ...i want to know that how you render 2d healthbar style interface ?thanks..What part are you unsure of?   ;  about updating rect parts such as %40 ,%60, %80 Will i scale  2d image?   ;Quote:Original post by jamesssabout updating rect parts such as %40 ,%60, %80 Will i scale  2d image?There are many different ways you could render a progress bar (and sure, scaling a 2-d image is one of them).What graphics API are you using? (Generally, the more contextual information you can provide when asking a question like this, the more relevant and useful the answers will tend to be.)   ;  excuse my poor english...i am using directx and rendering 2d interface with D3DXSPRITE...;  I just uncovered a pretty decent site the other day:http://www.directxtutorial.com/Tutorial9/D-GameDisplay/dx9D.aspxit jumps into GUI objects such as radars, healthbars, ammo - etc. Not only does it discuss the topic but also provides you with some code samples. Hope this helps.   ;  oh its cool.thx everyone..i will examine that now..   