Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Slasher on Fri 10/06/2016 10:22:38

Title: SOLVED: Mismatched colour depths
Post by: Slasher on Fri 10/06/2016 10:22:38
Hi,

the keyboard button underneath the Esc key gives an error of:

mismatched colour depths.

Debug on

Running ags 3.2.1 16bit d3d

What can i do?

cheers
Title: Re: Mismatched colour depths
Post by: Khris on Fri 10/06/2016 13:01:06
You can reimport every single sprite and room background.
Title: Re: Mismatched colour depths
Post by: Crimson Wizard on Fri 10/06/2016 13:52:25
Quote from: slasher on Fri 10/06/2016 10:22:38
the keyboard button underneath the Esc key gives an error of:
Do you mean the "~" (tilde) key?

This key brings the debug console on screen. This console uses some GUI as background, which probably cannot be drawn in your mode. I'd say this might be an engine bug.
I will check how the console is constructed and if this may be solved by common means.
Title: Re: Mismatched colour depths
Post by: Crimson Wizard on Fri 10/06/2016 14:33:27
No, it looks like that is a bug in the engine that console cannot work in 16-bit games. Also, I do not see any way to stop console from showing, except for turning Debug mode off (in General Settings).
Title: Re: Mismatched colour depths
Post by: Slasher on Fri 10/06/2016 14:34:17
Hi

this is my keyboard layout style showing key:
(http://i1181.photobucket.com/albums/x423/qikfire/KEYBOARD_KEY_zpswqu2sjiq.png)


Title: Re: Mismatched colour depths
Post by: Slasher on Fri 10/06/2016 14:38:18
HI Crimson

I went with 16bit because 32bit caused havoc with Phylectere module: Replicating the bubble although same settings in a previous game 32bit d3d were ok.. strange.

I of course only noticed once i'd finished the game so copy reimporting all sprites is out.

With debug off no problem.. best left as it is.

it would be handy to know of any bugs you find concerning this.

cheers
Title: Re: Mismatched colour depths
Post by: Crimson Wizard on Sat 11/06/2016 14:26:55
I have fixed this bug, the fix will be included into next 3.4.0 beta release (hopefully it will be in few days).
Title: SOLVED: Mismatched colour depths
Post by: Slasher on Sat 11/06/2016 14:35:55
Cheers Crimson :)