Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

Life Bar System

Talk about anything related to Platinum Arts Sandbox here!
User avatar
GoBologna120
Member
Member
Posts: 167
Joined: June 10th, 2009, 3:07 pm
Name: Tim
IRC Username: GoBologna
Location: Nowhere in particular.

Re: Life Bar System

Post by GoBologna120 »

I'm sorry. I try not to double post, but I simply can't find where I'd put this in the source code. :oops:
Image
Yay. ^_^
User avatar
shadow09231990
Member
Member
Posts: 9
Joined: September 1st, 2009, 1:04 am
Name: kyle

Re: Life Bar System

Post by shadow09231990 »

i could not find the exact file in the src file folder. the closest i got to it was in the masterchef/src/engine/renderparticles that i opened and i found this:

void particle_meter(const vec &s, float val, int type, int fade, int color, int color2, float size)
{
if(shadowmapping || renderedgame) return;
particle *p = newparticle(s, vec(0, 0, 1), fade, type, color, size);
p->color2[0] = color2>>16;
p->color2[1] = (color2>>8)&0xFF;
p->color2[2] = color2&0xFF;
p->progress = clamp(int(val*100), 0, 100);
}

when i try to add it to my source code file it does nothing. so im stuck too
User avatar
Mike
Administrator
Administrator
Posts: 871
Joined: May 24th, 2009, 12:52 pm

Re: Life Bar System

Post by Mike »

I'll point Hirato to this thread. Are you trying to use a health bar from the RPG in the regular code of Sandbox? They use different variables so I would imagine that is the problem. If I get a chance I'll look myself but bug me a lot because I am a bit overwhelmed :D Take care.
-mike
Sign up for our Newsletter to keep up to date with the Sandbox news!
We also have a facebook page, facebook group, myspace page and a twitter page[/b][/color]!
Locked