Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / dumb easy question so help me put

Author
Message
norlo
21
Years of Service
User Offline
Joined: 14th Jul 2003
Location:
Posted: 15th Jul 2003 03:11 Edited at: 15th Jul 2003 03:22
i made a model and i have all that running but how do i get a life bar to show up. i was gonna ccreate a box in 2d but it doesnt show up in the loop. i used the draw to front commands and stuff so it should show up but its not someone please help me out.

MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 15th Jul 2003 03:13 Edited at: 15th Jul 2003 03:14
Post your code, and I'll try to help.
edit:also tell me exactly what you want to do.




Yellow:Wanna publish my game microsoft, cuz i no u rich so...Can I have my bag of money now?
Microsoft: *snicker* Tip of the month-Microsoft will never(probebly) publish your game.
norlo
21
Years of Service
User Offline
Joined: 14th Jul 2003
Location:
Posted: 15th Jul 2003 03:23
heres my code:

norlo
21
Years of Service
User Offline
Joined: 14th Jul 2003
Location:
Posted: 15th Jul 2003 03:24
heres my code:
basically i can move the ship and i have a bg set up so no blue screen.

norlo
21
Years of Service
User Offline
Joined: 14th Jul 2003
Location:
Posted: 15th Jul 2003 03:25
heres my code:
basically i can move the ship and i have a bg set up so no blue screen. what i need is a box that can be changed for the health bar.

MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 15th Jul 2003 03:41
try taking the "cls" out, because that may be the reason the health box doesn't show.

Yellow:Wanna publish my game microsoft, cuz i no u rich so...Can I have my bag of money now?
Microsoft: *snicker* Tip of the month-Microsoft will never(probebly) publish your game.
norlo
21
Years of Service
User Offline
Joined: 14th Jul 2003
Location:
Posted: 15th Jul 2003 03:50
nah still doesnt work o well i'll just use a sprite

Carlitos
21
Years of Service
User Offline
Joined: 8th Jul 2003
Location: United States
Posted: 15th Jul 2003 03:52
Here's a neat code i came up with a while back for life bars. It makes a 3d life container with a liquid that goes away with each hit.
If you want to increase the damage, just increase the HP. If you want to scale it bigger, just make sure to do it in the loop as well.
Hope that helps,
--carlito
norlo
21
Years of Service
User Offline
Joined: 14th Jul 2003
Location:
Posted: 15th Jul 2003 04:05
that is a cool life bar but unfortunatley it does not fit with my games look, thanks though you gave me an idea.

Carlitos
21
Years of Service
User Offline
Joined: 8th Jul 2003
Location: United States
Posted: 15th Jul 2003 15:17
No problem, always glad to help

--carlitos

Login to post a reply

Server time is: 2024-09-20 15:53:42
Your offset time is: 2024-09-20 15:53:42