Actual, working FPS meter in Hopscotch!

helpwithcode

#1

It really does work!

Test no.1 - Working FPS!
https://c.gethopscotch.com/p/y9fj9fgvt

Test no.2 - FPS Meter Test!
https://c.gethopscotch.com/p/y9fln1fma

Test no.3 - Lag Machine
https://c.gethopscotch.com/p/y9joak3uf

Code - FTU, but give credit please.


#2

COOL


#3
tag list

List
@ArtyAnimal
@AvocadoDont
@AwesomeNachos
@BB-Box
@BellaWafflez17
@bluedogmc-official
@BubblegumCupcakeMix
@ButterBark
@Candycane
@ChocolateFox
@ColourfulBlack
@ConnellCoder
@CreationsOfaNoob
@DA-BEASTY
@DMF
@Ella_13
@Explorer_
@FascinatingTreehouse
@FluffyMarshmellow
@FortatoBuilder
@FunkyGoldfish
@GiraffeProductions
@GLaDOS_On_Da_Forum
@happy12345678910
@HappyPerson
@HappyDolphin
@HopedHoper
@Hoppertoscotch
@IKeudin
@Jess888
@JojoDude
@KarmicSans2
@KawaiiRose
@Kitkat26
@KoolM123
@KVJ
@MiiR_legend
@minioncandy
@MudFlowerCat
@Murphy1
@PandaBlossom
@Paydent12
@PerfectPanda24
@PianoGorilla2006
@Potter_Head
@PumpkinGirl
@PurpleStorybook
@Rainboom
@RubyStars
@ScarySweetheart
@Sensei_Coder
@Silverdolphin
@SnowGirl_Studios
@Sprouse
@StarryDream
@Steelhooves
@StRiKe_Charler123
@Sugarisyummy
@Sweetlina
@Themasterofairjitzu
@ThePickle
@treefrogstudios
@TrevCoding
@Valgo
@Vortex.inc
@waddlemarco
@WasIdealessHere
@weathercats
@William04GamerA
@xXBARNSLEYFCXx
@Yellow_Mellow
@YuxinaYammy


#4

That should be featured! I'll nominate it!


#5

What does FPS mean?


#6

That is super awesome! :clap::smile:


#7

OMG
This is sooo cool!


#8

Wow! Great project! :D


#9

FPS means "Frames Per Second" :)


#10

Cool!


#11

Can you make them have buttons to increase and decrease the FPS? That would make it better, and if you added that, it could be on both Featured and Trending at the same time!


#12

@thepickle Thats impossible for a project :confused: also buttons to increase or decrease lag? no. suggested use is for testing speeds of projects in an easy manner. Also for making sure your stuff works smoothly across a range of devices. I mean, the buttons could probably be for increasing/decreasing the load.


#13

@Steelhooves

Sure it's possible. And would make an excellent expansion of your project.

It's not the solely the large number of clones that increase the lag, it's what the code is doing with the clones. So while you can't remove clones to reduce the lag, you could add buttons to demonstrate how different blocks or events affect the lag...


#14

Do you want to put it on this list of mechanics? :slight_smile:


#15

@Rawrbear No one has ever done this before, well, working ones at least, so sure!


#16

Okay, I get it. Might try on Friday.


#17

Doesn't a value set the FPS?


#18

Actually, try multiplying the FPS by 2. When it was 2 fps, I actually counted 4 fps. :slight_smile:


#20

Yes, but counting it is a load, and so it can be slowed by other things going on. The most trouble I have with this is the fact that the actual time to reset that value is sometimes delayed, making it more inaccurate the slower the device gets. @Rawrbear this is the reason why. Not the fact I need to double it.


#21

Can you try testing something where you can set the FPS?