FPS Counter in Scratch 😍😍 #scratch #scratchprogramming #shorts

preview_player
Показать описание
In this video, I go through how you can create an FPS counter on scratch.
Рекомендации по теме
Комментарии
Автор

Dude wtf this helped me so much NEVER STOP THE SCRATCH COMMUNITY NEEDS YOU!!!!

Samueldice
Автор

I've been looking up the same tutorial for an FPS counter

damienoplayzyt
Автор

Finally i saw someone do it the "good" way

СвятославТитченко
Автор

Only issues is there's no Delta time but that's pretty easy to add

realdddaboss
Автор

Fun fact, you can get past 30 fps using turbowarp

GTeam_Videos
Автор

Try making another variable called fps, and change that variabloe by one, and every one second, set the variable FPS into fps, and reset the variable fps.
There are some games that wants to use the timer, so this is one way to do it. =)

igakojp
Автор

1.add scratch addons
2.go to fps counter
3.ta da!

maeepedro
Автор

It's better to use day since 2000 but cool

Albericbaboin
Автор

now do it without resetting the timer block

Автор

this is really good and it allowed me to do something that i have been trying to do for a while thank you so much @JustFinishedCoding !

MIKOSweet-mf
Автор

Much easier way:
Variables: (FPS) (Frame)

script 1:
[when green flag clicked]
[forever:
[change (Frame) by (1)]

Script 2:
[when green flag clicked]
[forever:]
[wait (1) seconds]
[set (FPS) to ((Frame))]
[set (Frame) to (0)]

Also you have to have another code running in another sprite or it wont work.

stevhyn
Автор

A FPS counter must have delta timer to overcome LAG

shajcheruvathramachandran
Автор

imo better way (griffpatch 3d raycaster) DEF FPS (lasttick) set tick to timer * 30 set DeltaTime to tick - lasttick set fps to 30 / deltatime. when gf clicked, forever FPS(tick)

unidentified-rh
Автор

Theres a more accurate and simple was to do it:

Flag
Forever
FPS (tick 30)

(custom block): FPS block ( last tick)
set tick 30 to timer * 30
Set delta to tick30 - last tick
Set fps to round 30/ delta

And Now youre done

MrCubeRM
Автор

If i click the stop button and it sets it to infinity

sprunboxsprunkiincredibox
Автор

Each time the flag is clicked, the timer is reset automatically, so the first reset timer is useless

gamercoder
Автор

what to do if i have fps (flames per second)

NetworkingVerycool
Автор

Love your videos man! Let me know if you ever want to do a collab because I also make Scratch YouTube videos! :D It would be great to work with you!

hopperspaniel
Автор

You can do this or get a scratch mod 💀

RandomFireball
Автор

why round the value? FPS is displayed more accurately with more digits

errorpixelyt
welcome to shbcf.ru