Re: [clean-list] Direct draw error at program start.

2018-05-18 Thread John van Groningen
On 5/17/18 6:48 PM, Maurizio Ferreira wrote:
> As I launch the "Charlie" game I get the following error :
> 
> IDirectDraw_SetDisplayMode failed
> 
> then , clicking on the OK button  :
> 
> Game window could not be created
> 
> Same problem with "SINT" and "WORMS"
> 
> Instead LifeGameExample works correctly.
> 
> 
> My system configuration :
> 
> Notebook HP ENVY 15,  core I7, 2.4 ghz, 12 gb ram, Windows 10 home 64 bit,
> version 1803, recently installed
> 
> double video card, Intel HD Graphic 4600,   NVIDIA Geforge GT 740 M
> 
> DirectX version: DirectX 12
> 
> Clean version :  clean-classic-windows-x64-20180228
> 
> 
> Any suggestion ?

Charlie and SINT try to use 320x200 with 16 bit color, WORMS 640x480.

You could try 32 bit or 24 bit color or a higher resolution for
Charlie and SINT. Charlie and SINT also seem to work at 640x480
and 800x600 with 32 bit color on my computer (but the startup
screen doesn't look good).

You can do this by changing the arguments for startGame. For
example in the Start function in Charlie.icl:

= startGame DuckGame initialGameState [ScreenSize {w = 640, h =
480}, ColorDepth 32] world

Kind regards,

John van Groningen
___
clean-list mailing list
clean-list@science.ru.nl
https://mailman.science.ru.nl/mailman/listinfo/clean-list


[clean-list] Direct draw error at program start.

2018-05-17 Thread Maurizio Ferreira
As I launch the "Charlie" game I get the following error :

IDirectDraw_SetDisplayMode failed

then , clicking on the OK button  :

Game window could not be created

Same problem with "SINT" and "WORMS"

Instead LifeGameExample works correctly.


My system configuration :

Notebook HP ENVY 15,  core I7, 2.4 ghz, 12 gb ram, Windows 10 home 64 bit,
version 1803, recently installed

double video card, Intel HD Graphic 4600,   NVIDIA Geforge GT 740 M

DirectX version: DirectX 12

Clean version :  clean-classic-windows-x64-20180228


Any suggestion ?

Best regards

Maurizio.
___
clean-list mailing list
clean-list@science.ru.nl
https://mailman.science.ru.nl/mailman/listinfo/clean-list