Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: rozojc on Fri 21/09/2007 14:04:58

Title: Possible bug: game will only play in window mode and in right screen corner.
Post by: rozojc on Fri 21/09/2007 14:04:58
Well I've been searching for this but can't find an answer... I'm an IT teacher in Bogotá, Colombia (South America), and I encouraged a couple of my students to make a project using AGS. However, we've been having some difficulties.

We ran AGS on Windows XP sp2, latest DirectX installed, etc... Now, whenever trying to test games (or try ANY AGS games for that matter) full screen, it just doesn't work. We get a blank screen and nothing else (music does play in the background). If we configure it to run in Window mode, then the window appears blank. Now, here's the strange thing: if we move the window to the right of the screen, so that the right border of the window "touches" the right border of the screen, then the game displays fine and we can run it...

Any ideas as to why this happens?
Title: Re: Possible bug: game will only play in window mode and in right screen corner.
Post by: Pumaman on Fri 21/09/2007 19:32:49
Sounds like some sort of graphics driver problem ... are you able to play any DirectX games on that PC?
Title: Re: Possible bug: game will only play in window mode and in right screen corner.
Post by: Doctor Oakroot on Fri 21/09/2007 22:31:39
I have a similar problem on some of my computers. The ones with the problem are all running XP without SP2. My newer computers run full screen with no problems.
Title: Re: Possible bug: game will only play in window mode and in right screen corner.
Post by: rozojc on Sat 22/09/2007 02:44:55
Quote from: Pumaman on Fri 21/09/2007 19:32:49
Sounds like some sort of graphics driver problem ... are you able to play any DirectX games on that PC?
Yeah, actually other directX stuff plays fine... And it's not only in one computer but in any computer from the computer lab at school (Hewlet Packard desktops, all with WinXP sp2, with all updates and latest directX)...

Does anyone else have this issue of not working fullscreen and working in window mode by moving the window to the right edge of the screen?
Title: Re: Possible bug: game will only play in window mode and in right screen corner.
Post by: Gilbert on Sat 22/09/2007 03:36:42
Also, check (via task manager, perhaps) if there're anything that're running in background that'll "steal the focus". By default, ags games would be active only if the window is in focus, if you change the focus to some other programmes (say, explorer) the game would be paused.
Title: Re: Possible bug: game will only play in window mode and in right screen corner.
Post by: rozojc on Sat 22/09/2007 04:23:36
Nope, checked that, that's not it... It's really a weird problem...
Title: Re: Possible bug: game will only play in window mode and in right screen corner.
Post by: Pumaman on Sat 22/09/2007 12:02:09
If you've got a lab full of computers with an identical operating system and identical drivers, then it probably would have the same effect on all of them. It sounds like the DirectX overlay isn't working properly, because once the window is partially off the screen it reverts to GDI rendering.

Are you able to check for updates to the graphics drivers?
Title: Re: Possible bug: game will only play in window mode and in right screen corner.
Post by: rozojc on Sat 22/09/2007 12:37:47
Quote from: Pumaman on Sat 22/09/2007 12:02:09
If you've got a lab full of computers with an identical operating system and identical drivers, then it probably would have the same effect on all of them. It sounds like the DirectX overlay isn't working properly, because once the window is partially off the screen it reverts to GDI rendering.

Are you able to check for updates to the graphics drivers?
Well, it's weekend now so I'm probably not going to be at school until Monday, but I'll try Monday; however, it is my understanding that all computers are using the latest drivers...
Title: Re: Possible bug: game will only play in window mode and in right screen corner.
Post by: otter on Sat 22/09/2007 17:41:32
I'm having a very similar problem on one of my boxes, with the same workaround.  However, it only appears to affect certain AGS games: BJ6 is broken in the same way, but Linus Bruckman works, as does the Blackwell demo.  I'm running XP without SP2.  I'll check the video card specs and post them.
Title: Re: Possible bug: game will only play in window mode and in right screen corner.
Post by: Pumaman on Sat 22/09/2007 19:55:30
It might depend on the colour depth -- for example it might not work with 16-bit colour games, but might work with 32-bit colour games, if there's a problem with the driver.
Title: Re: Possible bug: game will only play in window mode and in right screen corner.
Post by: Radiant on Mon 24/09/2007 08:01:16
Try setting your screen's color depth to match the game's color depth. I had a similar problem in the past and this helped. Also, run DXDIAG to check if your DirectX is fully functional.