Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Nickenstien on Tue 21/03/2006 23:48:35

Title: Keep game running when window loses focus (SOLVED)
Post by: Nickenstien on Tue 21/03/2006 23:48:35
Hi folks  ;)

I was wonering if there is any way to stop your game from hibernating/pausing when its actual window loses focus or is minimised ?

I would like to achieve this as I am currently developing a special effects plug-in for AGS, but I need to use a different window for the interface so that I am not limited to using only DirectDraw2.  But obviously when any clicks occur on my 'new' window this causes the main AGS window to loose focus, and hence the AGS engine is suspended. This in turn causes my second window to cease recieving image data from AGS.

Does anybody know of any way around this ?

Cheers,
            Nick
Title: Re: Keep Game running when window loses focus
Post by: Ashen on Tue 21/03/2006 23:53:57
Is this any use? (http://www.adventuregamestudio.co.uk/manual/SetMultitaskingMode.htm)
Title: Re: Keep Game running when window loses focus
Post by: Nickenstien on Wed 22/03/2006 00:14:04
Thanks for that AshenÃ,  ;D

(it took me a while to realise your response was actualy a link) ,Ã,  Ã,  DOHÃ,  Ã, 
hehe

Thanks again

Nick.