Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 11-30-2009, 08:58 PM   #1
Newbie101
Member
 
Newbie101's Avatar
 
Join Date: Jun 2009
Posts: 57
Smile How do you change FPS in game?

Well, how do you? I can't figure out the script. I was thinking of making an input text box where you type it in then enter and it changes it. Also I wanted it to be like the lowest # being 5 and the highest being 25. How do you do that? Thanks in advance.
Newbie101 is offline   Reply With Quote
Old 12-01-2009, 01:44 PM   #2
TomMalufe
Salmon Eater
 
TomMalufe's Avatar
 
Join Date: Jun 2007
Location: Doylestown, PA, USA.
Posts: 740
Default

AS2 or AS3?
__________________
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." -- Chinese Proverb.
TomMalufe is offline   Reply With Quote
Old 12-01-2009, 02:44 PM   #3
rrh
throw a trace() in there
 
Join Date: Dec 2006
Posts: 1,982
Default

Is it even possible in AS2?

Or am I being too literal? I guess you could set everything on timers rather than an actual frame.

And do you want higher frame rates to progress at a faster speed, or do you want to accomodate so the speed stays roughly the same at different frame rates? The latter will be trickier.
rrh is offline   Reply With Quote
Old 12-01-2009, 08:44 PM   #4
actionscriptadmin
Registered User
 
Join Date: Jul 2009
Posts: 6
Question It is possible

I never understood how to do it, the tutorial was way to complicated, but I'll link you, just in case no one can make it simpler.

http://www.newgrounds.com/bbs/topic/393720

In its most basic coding though, it's mostly just trying to say "Skip every other frame to make it 2 times as fast, skip every third frame to make it a third faster, etc." and its doing that using a complex formula.
actionscriptadmin is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:05 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.