This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's Technology & Calculator Open Topic subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. Community News & Discuss Nspire => Technology & Calculator Open Topic
Author Message
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 04 May 2004 08:35:07 am    Post subject:

How do you measure the amount of FPS?
Back to top
X1011
10100111001


Active Member


Joined: 14 Nov 2003
Posts: 657

Posted: 04 May 2004 07:35:33 pm    Post subject:

Quote:
I like the percent thing more than the 34/999 thing.

But it is faster

Quote:
You forgot the 999->dim(L1 part, without that, it will never work.

Yes it will

Quote:
How do you measure the amount of FPS?

What I did was replace the "Repeat whatever" with a for loop to make it draw 100 frames. Then I timed it and divided 100 by the time I got.
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 05 May 2004 04:32:51 am    Post subject:

For is slower than repeat.
Back to top
leofox
INF student


Super Elite (Last Title)


Joined: 11 Apr 2004
Posts: 3562

Posted: 05 May 2004 10:47:29 am    Post subject:

How do you measure the amount of FPS?

I let the game run for 30 seconds, and then check the amount of A, X or S (depending on what variable is used)

My game does 195 frames in 30 seconds, and kevins game does 212. That means mine does about 6.5 fps, and kevind's game 6.7 (approximately). I think this method makes the framerate slower, cuz kevin says he had 8 fps, and when guessing my speed, i thought it was 7.5 fps (cuz it is a bit slower). The game i measured is a bit different from the game i posted, cuz my RAM was cleared once again.
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 05 May 2004 05:09:19 pm    Post subject:

Just put in an A+1->A inside the loop, Delvar A before the beginning, and divide A by 60 after running for a minute.
Back to top
X1011
10100111001


Active Member


Joined: 14 Nov 2003
Posts: 657

Posted: 05 May 2004 06:34:38 pm    Post subject:

I think a for loop is faster then an A+1->A
Back to top
leofox
INF student


Super Elite (Last Title)


Joined: 11 Apr 2004
Posts: 3562

Posted: 06 May 2004 03:40:54 am    Post subject:

Sir Robin wrote:
Just put in an A+1->A inside the loop, Delvar A before the beginning, and divide A by 60 after running for a minute.

kevin's game already has A+1->A in the loop, so i just used that A. My game uses X in the For loop, so i used the X to check for the framerate. I had to modify the games so i was invincible, because i can't possible survive for 30 seconds Razz, so it's not that accurate.
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 06 May 2004 08:21:45 am    Post subject:

X1011 wrote:
I think a for loop is faster then an A+1->A

For(A,0,3000
End

Took 6 seconds.

Delvar A
Repeat A=3000
A+1->A
End

Took 34 seconds.

Delvar A
While A-3000
A+1->A
End

Took 32 seconds.
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 06 May 2004 05:18:20 pm    Post subject:

What about
0->A
Repeat 0
IS>(A,2999
End
?
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 06 May 2004 06:27:02 pm    Post subject:

Takes about 28 seconds.
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 07 May 2004 04:42:14 pm    Post subject:

Go IS>( !!!!!
Back to top
Adm.Wiggin
aka Tianon


Know-It-All


Joined: 02 Jun 2003
Posts: 1874

Posted: 07 May 2004 06:18:39 pm    Post subject:

Actually, Go For(!!!! Laughing
Back to top
sgm


Calc Guru


Joined: 04 Sep 2003
Posts: 1265

Posted: 07 May 2004 06:25:59 pm    Post subject:

Go Repeat!

-- Microsoft Windows


Last edited by Guest on 07 May 2004 06:26:31 pm; edited 1 time in total
Back to top
Adm.Wiggin
aka Tianon


Know-It-All


Joined: 02 Jun 2003
Posts: 1874

Posted: 07 May 2004 06:35:41 pm    Post subject:

For Windows, it is prolly more like "Go Shoot Yourself!"
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 07 May 2004 06:45:15 pm    Post subject:

"Go learn how to actually use your computer properly without messing it up and blaming it on the OS because you actually have no idea what you're doing!"
Back to top
sgm


Calc Guru


Joined: 04 Sep 2003
Posts: 1265

Posted: 07 May 2004 06:49:52 pm    Post subject:

Holy Christ it was a joke. I haven't had Windows crash since I wrote an asm prog that accidentally poked to 0A00:0000. Now apologize.
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 08 May 2004 06:33:39 am    Post subject:

Apologize for what?

I was just going with 'let's make funny microsoft comments' flow.
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 08 May 2004 09:57:25 am    Post subject:

Adm.Wiggin wrote:
Actually, Go For(!!!! Laughing

Well, yes, but the IS>( loop is more versatile.
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    » Goto page Previous  1, 2, 3
» View previous topic :: View next topic  
Page 3 of 3 » All times are UTC - 5 Hours

 

Advertisement