Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Game crashes after window loses focus.

Author
Message
Kafoolwho
6
Years of Service
User Offline
Joined: 16th Oct 2013
Location: The Deep
Posted: 3rd May 2014 02:02
Hey everyone.

This is just an annoying little problem I am struggling with. I have a game running in fullscreen mode, but as soon as I switch to my second monitor, a download finishes or any other thing makes my game window lose focus, as soon as I re-enter my program it crashes with an error,
mostly in the line of:

'Sprite does not exist at line 62'.

What is the best way to handle a situation like this? I would really like some kind of solution, since distributing my games with a flaw like this could cause big problems for the end-user.

Thanks in advance.
Derek Darkly
8
Years of Service
User Offline
Joined: 22nd Sep 2011
Location: Whats Our Vector, Victor?
Posted: 3rd May 2014 22:05
I think there was a discussion about this here:

DarkBasic Pro Application Crashes when pressing Windows Key

666GO†O666
Kafoolwho
6
Years of Service
User Offline
Joined: 16th Oct 2013
Location: The Deep
Posted: 4th May 2014 20:36
Thank you very much, Derek Darkly. That was a great help, especially Mage's pro tip in the link.
Derek Darkly
8
Years of Service
User Offline
Joined: 22nd Sep 2011
Location: Whats Our Vector, Victor?
Posted: 7th May 2014 06:24
No problem! I'm just here for the free donuts.

666GO†O666

Login to post a reply

Server time is: 2020-01-23 01:23:54
Your offset time is: 2020-01-23 01:23:54