The Daily Click ::. Forums ::. Klik Coding Help ::. Screensaver comes up in the middle of playing
 

Post Reply  Post Oekaki 
 

Posted By Message

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
6th December, 2009 at 19:06:06 -

This doesn't happen with any other games I've made before in MMF1.5 or MMF2 but all the time with ODW. Does it have to do with the controls being joystick only? I'll be playing it and all of the sudden the screen goes black to the screensaver. It happens when the screen's maximized, windowed, and when MMF2 changes the screen resolution.

Is there anyway to stop the screensaver from coming up like that?

Thanks!

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

Sumo148

Super amazing fantastic user

Registered
  26/01/2009
Points
  530

360 OwnerThe Cake is a LieVIP MemberPokemon Ball!I am an April FoolI donated an open source projectSanta Hat
6th December, 2009 at 19:08:39 -

try checking your screensaver setting in the control panel maybe?

 
n/a

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
6th December, 2009 at 19:15:47 -

No, no. I understand that I can disable my own screensaver I just want the game to count as something active on others' computers so theirs won't activate thinking they haven't been doing anything on their computers for awhile, you know?

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

Fifth

Quadruped

Registered
  07/05/2003
Points
  5815

VIP MemberGOTW JULY 2010 WINNER!Kliktober Special Award TagGOTW HALLOWEEN 2011 WINNERPicture Me This Round 51 Winner!
7th December, 2009 at 00:30:28 -

Aw, man... I know this problem.
I'm afraid I don't know a good solution, though. There must be some way to tell Windows that you're actually doing something... that doesn't resort to mimicking keyboard input every minute or so.

If you do find a solution, I'll be interested in hearing it.

 
Go Moon!

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
7th December, 2009 at 02:10:14 -

Maybe you could try having an occasional event using the mouse object, to move the mouse (while it's invisible) so that the screensaver doesn't come up. May seem kind of work aroundish, but that's because it is.

 
http://www.facebook.com/truediamondgame

OMC

What a goofball

Registered
  21/05/2007
Points
  3516

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
7th December, 2009 at 02:37:23 -

Well, the big box object will disable screensavers. I don't know if that's sufficient though, since the app could crash before it enables it again. Perhaps you could make it a checkbox so the user is aware of it. Or you could simply map a joystick button to an arrow key or something.

 

  		
  		

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
7th December, 2009 at 15:12:11 -


Originally Posted by SiLVERFIRE
Maybe you could try having an occasional event using the mouse object, to move the mouse (while it's invisible) so that the screensaver doesn't come up. May seem kind of work aroundish, but that's because it is.



Actually, that's a great idea!

The mouse cursor is there, it's just invisible. I could have it move the cursor around within the gameplay area say every 5 minutes or so.

Thanks everybody!!

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!

Sumo148

Super amazing fantastic user

Registered
  26/01/2009
Points
  530

360 OwnerThe Cake is a LieVIP MemberPokemon Ball!I am an April FoolI donated an open source projectSanta Hat
7th December, 2009 at 17:59:57 -

or you could use the big box object to disable the screensaver at the start of the game, and when the game ends, you enable it again.

 
n/a

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
7th December, 2009 at 22:00:56 -

Unless... the game crashes beforehand. I think this was already brought up. Also, I don't want a game messing with any of my system settings. Just the thought of it irritates me. Sorry.

 
http://www.facebook.com/truediamondgame

Assault Andy

Administrator
I make other people create vaporware

Registered
  29/07/2002
Points
  5686

Game of the Week WinnerVIP Member360 OwnerGOTM JUNE - 2009 - WINNER!GOTM FEB - 2010 - WINNER!	I donated an open source project
8th December, 2009 at 11:07:06 -

We had this problem while making Faerie Solitaire and we didn't really come up with a great solution. At first I used the workaround mentioned here where you move the mouse every minute or so, so that the screensaver doesn't come up. However Faerie Solitaire also used "User has left computer since", so then I had to make another work around for that.

I would strongly recommend that nobody uses the Big Box object. Disabling the screensaver makes your exe get reported as a virus by many AV programs. Even if it is a false positive, it will make people not play your game and think the file is dangerous.

 
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy

Del Duio

Born in a Bowling Alley

Registered
  29/07/2005
Points
  1078

GOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!Evil klikerHasslevania 2!The OutlawSanta Boot
8th December, 2009 at 13:31:36 -

Shew, glad I didn't end up using the Box then!

Thanks Andy!

 
--

"Del Duio has received 0 trophies. Click here to see them all."

"To be a true ninja you must first pick the most stealthy of our assorted combat suits. Might I suggest the bright neon orange?"

DXF Games, coming next: Hasslevania 2- This Space for Rent!
   

Post Reply



 



Advertisement

Worth A Click