Messed colors
Displaying 1-3 of 3 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
Jakkar13

the colors on my game are messed yet no matter how many different trans.tbl i've tried none have fics it but it aways stayed that way



Posted on 2000-12-17 14:58:31

Thrasher

Do you have PaletteMorph(0,0,0,0,63); in your map's code?

I would have put that as the topic, but, damn topic limit.



Yeah, I understand the likes of Quantum Physics and Molecular Theory. What's the point? I just need you to tie my shoes.

Posted on 2000-12-17 16:08:48

Praetor

(well, it covers PaletteMorph as well)

The trans.tbl file is only used if you are using any graphical routines with the lucency turned on (i.e., you've called SetLucent(1); but you haven't yet called SetLucent(0);)

If you never call SetLucent(); then you don't even need the file there at all...

What it sounds like to me, is the issue that Thrasher addressed. Have you called PaletteMorph() at all?

What that function does is to change the palette being used on the screen into the one being used by the images. Without it, it's pointing to the default DOS color registers instead of Verge's. Everytime you change the palette (i.e., you load a map that uses a different palette from the last one) you should call PaletteMorph() to make sure that Verge uses the new palette instead of the old one.

Hope that helps...



Praetor - Strong enough for a man, but made for a woman.

Posted on 2000-12-17 22:41:51


Displaying 1-3 of 3 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.