[HGE] Emitter Tint diagram has no effect

All information about Magic Particles: news, question, comments, etc.

[HGE] Emitter Tint diagram has no effect

Postby sonictk » Fri Apr 09, 2010 6:55 am

Hello again, I have yet another question about Magic Particles and HGE.

Currently, I am working on an effect that is to be duplicated. However, for the copy, I would like it to be coloured differently. I attempted to use the tint diagram in the emitter properties, however in the wrapper it appears that no matter what I set in the tint, it appears to have no effect.

I looked through the API and came across Magic_SetColorMode. Should I set change the mode to MAGIC_COLOR_TINT instead of leaving it as default? I am puzzled because it seems to say that by default it "Resuls in getting the same color as it was in Magic Particles (Dev)." In the editor the tint is visible, just not when it is in the wrapper.

Once again, thank you for your assistance. :D
sonictk
 
Posts: 28
Joined: Sun Feb 07, 2010 6:31 am

Re: [HGE] Emitter Tint diagram has no effect

Postby Odin_KG » Mon Apr 12, 2010 11:52 pm

Hi!

You can't change the tint diagram in API. But you can select own tint. Use the functions:
1) Magic_SetColorMode(MAGIC_COLOR_TINT)
2) Magic_SetTint
3) Magic_SetTintStrength

Should I set change the mode to MAGIC_COLOR_TINT instead of leaving it as default?

Yes. Use MAGIC_COLOR_TINT to select own tint.
User avatar
Odin_KG
Administrator
Administrator
 
Posts: 255
Joined: Sat May 09, 2009 10:53 pm


Return to Magic Particles

Who is online

Users browsing this forum: No registered users and 4 guests