Changing game color depth in-play? (SOLVED)

Started by Play_Pretend, Sun 21/09/2008 14:20:44

Previous topic - Next topic

Play_Pretend

Is it possible to change the game's color depth from 32 bit to 16 bit during the game?  The 32 bit setting is making my music skip during room changes, but I've got a few antialiased sprites right at the beginning that get messed up if I set it to 16 beforehand.

Akatosh

Have you tried to increase the maximum memory usage via the winsetup.exe? That might solve the problem with the music.

Gilbert

It is not possible to change the colour depth in-game.

Instead you may separate the game into two games in different colour depths and when the first part is completed use RunAGSGame() to run the second part. It would complicate stuff though, so this is not a recommendation but a tip if you really need to do it.

Play_Pretend

Well, I can go through the sprites during that part and re-do them all as non-anti-aliased, I guess, I was just hoping it would be easier than that. :)

I tried increasing the memory usage all the way to the 100 MB limit, and it still skipped just like before.  Oh, well.  Guess I'll just suck it up and fix the sprites.  Thanks guys!

Pumaman

If you're getting music skipping problems that sounds like a bug in AGS that needs to be fixed; you shouldn't have to change your game colour depth to get around it. If you can provide an example game that demonstrates the music skipping, I can look into it.

SMF spam blocked by CleanTalk