Page 1 of 1

[HGE] Emitter Tint diagram has no effect

PostPosted: Fri Apr 09, 2010 6:55 am
by sonictk
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

Re: [HGE] Emitter Tint diagram has no effect

PostPosted: Mon Apr 12, 2010 11:52 pm
by Odin_KG
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.