Author Topic: FPS loading icon  (Read 369 times)  Share 

icey games

  • Official KH tester
    • I can help with backgrounds
    •  
    • I can help with characters
    •  
    • I can help with play testing
    •  
    • I can help with story design
    •  
    • I can help with voice acting
    •  
FPS loading icon
« on: 10 Feb 2011, 04:11 »
Is there any way I can have AGS check if the FPS is low to show a GUI with a animating icon until the FPS is to the point were the game will run a little more faster?

Re: FPS loading icon
« Reply #1 on: 10 Feb 2011, 04:21 »
Are you speaking of:

Debug(4, 1);

Or literally some kind of loading screen? Not sure why it would be looking at the FPS rate, it shouldn't bog down much on the room loadings.

icey games

  • Official KH tester
    • I can help with backgrounds
    •  
    • I can help with characters
    •  
    • I can help with play testing
    •  
    • I can help with story design
    •  
    • I can help with voice acting
    •  
Re: FPS loading icon
« Reply #2 on: 10 Feb 2011, 04:29 »
I mean I don't think I want the FPS to be visible but if some was playing and the game started going slow I just want to set the position of a GUI with a animating/non-clickable button to pop up. then if the game goes normal speed again it goes away.

Like a buffering icon for when the game goes slow.

Iceboty V7000a

  • Local Moderator
  • * KILL* * KILL * * KILL *
    • Lifetime Achievement Award Winner
    •  
Re: FPS loading icon
« Reply #3 on: 10 Feb 2011, 05:00 »
As far as I know the Debug() FPS feature is good for nothing because you need to enable debug mode to use it, which is a big NO for game releases and also it will only shows the information on screen so you cannot address the value via scripting.

Scorpiorus had written a software FPS detecting function and that may be of use to you. (Though personally I'll rather want the engine to have an internal function for it.)
« Last Edit: 10 Feb 2011, 05:36 by Iceboty V7000a »

Dualnames

  • AGS Baker
  • Dualnames worked on a game that was nominated for an AGS Award!
Re: FPS loading icon
« Reply #4 on: 10 Feb 2011, 05:00 »
I mean I don't think I want the FPS to be visible but if some was playing and the game started going slow I just want to set the position of a GUI with a animating/non-clickable button to pop up. then if the game goes normal speed again it goes away.

Like a buffering icon for when the game goes slow.

I just modularized(?) Scorpiorus code.

http://www.mediafire.com/?6bjl510l1phh11f

EDIT: Gilbet you seem to remember it as well :D
EDIT2: Changed my choice of words :P
« Last Edit: 10 Feb 2011, 05:59 by Dualnames »

icey games

  • Official KH tester
    • I can help with backgrounds
    •  
    • I can help with characters
    •  
    • I can help with play testing
    •  
    • I can help with story design
    •  
    • I can help with voice acting
    •  
Re: FPS loading icon
« Reply #5 on: 10 Feb 2011, 05:32 »
OK I will check it out.

Thanks guys.

Iceboty V7000a

  • Local Moderator
  • * KILL* * KILL * * KILL *
    • Lifetime Achievement Award Winner
    •  
Re: FPS loading icon
« Reply #6 on: 10 Feb 2011, 05:38 »
Scorpiorus made an FPS module. I just modularized(?) it.
If that's already a module in the first place, do you need to re-modularise it? :=

Dualnames

  • AGS Baker
  • Dualnames worked on a game that was nominated for an AGS Award!
Re: FPS loading icon
« Reply #7 on: 10 Feb 2011, 05:48 »
Scorpiorus made an FPS module. I just modularized(?) it.
If that's already a module in the first place, do you need to re-modularise it? :=

I thought he actually made a module, but seems he didn't really. Just nevermind what I said, he just had the code and not the file :P