tinting problem

Started by Da_Elf, Sun 14/01/2007 19:12:01

Previous topic - Next topic

Da_Elf

when i try to use colour tint it just doesnt seem to work as it should logically work. tinting the color with 0,0,0RGB (in graphical terms that black) and 100% amount should technically do the same as light level 0%. then 255,255,255 100% should make the character pure white. This doesnt work that way though for some reason.

My characters and backgrounds are all true color depth

also I'm not going to bunp my other post but please take a look at http://www.adventuregamestudio.co.uk/yabb/index.php?topic=29760.0

::EDIT::
Also ive alsed a number of the forum mods but havent gotten anywhere with this. i setup the demo of my game on the website however the password that i put in doesnt seem to work so i cant go and change anything with it. This is for my asterix and the roman underground game found here ::
http://www.adventuregamestudio.co.uk/games.php?action=detail&id=832

Ashen

That's a known issue, but one I thought was resolved back in V2.7. AFAIK you need to use the Luminance parameter to affect brightness (make it black tinted):
Quote from: The Manual, SetAmbientTint
The LUMINANCE parameter allows you to adjust the brightness of the sprites at the same time. It ranges from 0-100. Passing 100 will draw the sprites at normal brightness. Lower numbers will darken the images accordingly, right down to 0 which will draw everything black.

If you've tried that, I don't know what else to suggest.
I know what you're thinking ... Don't think that.

Da_Elf

luminance? i guess i need to access that though scripting.

Ashen

Ah, if you're talking about Region tints, then you can't change the luminance even in scripting. I think you'd need to script it yourself to set Character/Object Tints manually, but I've never really used it.
I know what you're thinking ... Don't think that.

Da_Elf

#4
actually i used the ambiet tint and it worked really well. i just altered the ambient tint depending on the region i was in since cEGO.tint(x,x,x,x,x); for some reason didnt want to behave...oh. can you help me with the other problem I'm having? the one about the demo section?

SMF spam blocked by CleanTalk