Pc Benchmarking using Construct(SOLVED)

For questions about using Classic.

Post » Sun Mar 27, 2011 1:15 pm

Im creating an app which tests how many sprites my pc can handle. .Basically all i did was to create a sprite every milisecond and then a counter which shows how many sprites there are on screen using the Sprite.Count event.

Is there any way to set the time scale to 0 when the frame rate drops to 15?.
B
23
S
3
G
6
Posts: 1,356
Reputation: 7,176

Post » Sun Mar 27, 2011 2:25 pm

You can using timedelta, but you will need a counter to test a length of time that the fps drops below a certain rate, as frame rate varies all the time.
Image ImageImage
B
169
S
50
G
170
Posts: 8,291
Reputation: 108,726

Post » Sun Mar 27, 2011 2:34 pm

I tried comparing the caption text to another text and it worked ,But i cannot get the fps in the window caption whenever i write the program to an exe.
B
23
S
3
G
6
Posts: 1,356
Reputation: 7,176

Post » Sun Mar 27, 2011 2:44 pm

Heh, well that's an interesting idea, but yeah exports don't keep the caption.:)
Image ImageImage
B
169
S
50
G
170
Posts: 8,291
Reputation: 108,726

Post » Sun Mar 27, 2011 4:38 pm

Simply make your own fps counter. Every tick add 1 to it. Every 1000 ms check it and reset it.
Moderator
B
94
S
33
G
33
Posts: 3,006
Reputation: 27,749

Post » Sun Mar 27, 2011 5:40 pm

How do i make my own fps counter?.
B
23
S
3
G
6
Posts: 1,356
Reputation: 7,176

Post » Sun Mar 27, 2011 5:42 pm

He just told you.
B
48
S
10
G
9
Posts: 1,224
Reputation: 8,449

Post » Sun Mar 27, 2011 5:52 pm

B
4
S
1
G
4
Posts: 36
Reputation: 1,649

Post » Sun Mar 27, 2011 8:14 pm

Thank you makedit it's exactly what i [email protected] Davioware : Yes i see indeed :lol: But makedit had the better answer which was an actual cap demo showing me how it's done in detail :wink:
B
23
S
3
G
6
Posts: 1,356
Reputation: 7,176


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests