Discuss Scratch

will-epic
Scratcher
2 posts

how can i make a timer highscore script o the fastest time stays as highscore

how can i make a timer highscore script o the fastest time stays as highscore
1234abcdcba4321
Scratcher
1000+ posts

how can i make a timer highscore script o the fastest time stays as highscore

...
if <(low time) < (time)> then
set [low time v] to (time) // high time is a cloud var

I'd highly appreciate it if you were to follow me. Don't forget to go to my profile.
All of my programming suggestions <— You should really get the suggestions move back to the suggestions forum!
Five hundred posts! I never expected to get up there… In only 2-3 months.
Does anyone know what a signature is? I mean, I've already seen 6-7 people get confused.
ynakanishi
Scratcher
2 posts

how can i make a timer highscore script o the fastest time stays as highscore

I'd also like to set the fastest time as the high score. What is the script for the entire block? Do I need 3 cloud variables? time, low time and high time?
deck26
Scratcher
1000+ posts

how can i make a timer highscore script o the fastest time stays as highscore

ynakanishi wrote:

I'd also like to set the fastest time as the high score. What is the script for the entire block? Do I need 3 cloud variables? time, low time and high time?
What's required depends on the project but it should be obvious - if the aim is to survive as long as possible then the high time is the one that's important but if you're trying to do something quicker than anyone else then the low time is the one you want. The current time doesn't need to be a cloud variable as you're only storing it if it beats the current best time so you store it as the high time or low time. In most cases therefore a single cloud variable will be enough.
shoresbeep
Scratcher
1000+ posts

how can i make a timer highscore script o the fastest time stays as highscore

deck26 wrote:

ynakanishi wrote:

I'd also like to set the fastest time as the high score. What is the script for the entire block? Do I need 3 cloud variables? time, low time and high time?
What's required depends on the project but it should be obvious - if the aim is to survive as long as possible then the high time is the one that's important but if you're trying to do something quicker than anyone else then the low time is the one you want. The current time doesn't need to be a cloud variable as you're only storing it if it beats the current best time so you store it as the high time or low time. In most cases therefore a single cloud variable will be enough.
Please do not necropost…

coolpenguin1456
Scratcher
2 posts

how can i make a timer highscore script o the fastest time stays as highscore

? i still dont get it. I want to make a platformer that puts a timer that goes for everyone
coolpenguin1456
Scratcher
2 posts

how can i make a timer highscore script o the fastest time stays as highscore

HOW!!

:happy:
BKFighter
Scratcher
1000+ posts

how can i make a timer highscore script o the fastest time stays as highscore

coolpenguin1456 wrote:

HOW!!

:happy:
If you have a question, its best to start your own topic (using the blue ‘new topic’ button) and include a link to your project.

Need a reason to check out my profile?
How about things like:
Simulators?
Games?
Amazing Creations?

This siggy protected by: BKFighter Kumquataway Ltd
Created from processed Kumquat byproduct
Purchase for free* at this website! asdfasdfasdfasdfasdfasdfadfadfadadfasdfas;
li21rich
Scratcher
1 post

how can i make a timer highscore script o the fastest time stays as highscore

1234abcdcba4321 wrote:

...
if <(low time) < (time)> then
set [low time v] to (time) // high time is a cloud var
wha?

Last edited by li21rich (Nov. 12, 2016 22:52:02)

mr_scientific
Scratcher
100+ posts

how can i make a timer highscore script o the fastest time stays as highscore

coolpenguin1456 wrote:

? i still dont get it. I want to make a platformer that puts a timer that goes for everyone
make the high score variable
if <( time) < (☁ least time)> then
set [☁ least time v] to ( score)
end

I made a game called "The True Ninja". It may sound like a rip-off to @Will_Wams the ninja series but I made it quite a bit different. The second game is out is now out and in my opinion, is much better than the first. Click here to see some other games I made!

I am willing to help, as long as it is in my capability to do so. (I think I am a decent programmer but not the best artist).

When asking help (to me or anyone else), attempt first, if you encounter trouble, that's when you ask help. If I created your scripts, then it would be hard for you to understand what they do. If you attempted but it did not work out, you will at least have an idea of what each script does and it will be easy to identify the modifications that made your script work. TLDR; Try, and ask help if if it does not work out

“It is the job that never started that takes the longest time to finish”- Samwise from Lord of the Rings
mr_scientific
Scratcher
100+ posts

how can i make a timer highscore script o the fastest time stays as highscore

Is that the answer you were looking for?

I made a game called "The True Ninja". It may sound like a rip-off to @Will_Wams the ninja series but I made it quite a bit different. The second game is out is now out and in my opinion, is much better than the first. Click here to see some other games I made!

I am willing to help, as long as it is in my capability to do so. (I think I am a decent programmer but not the best artist).

When asking help (to me or anyone else), attempt first, if you encounter trouble, that's when you ask help. If I created your scripts, then it would be hard for you to understand what they do. If you attempted but it did not work out, you will at least have an idea of what each script does and it will be easy to identify the modifications that made your script work. TLDR; Try, and ask help if if it does not work out

“It is the job that never started that takes the longest time to finish”- Samwise from Lord of the Rings
Charles12310
Scratcher
1000+ posts

how can i make a timer highscore script o the fastest time stays as highscore

mr_scientific wrote:

coolpenguin1456 wrote:

? i still dont get it. I want to make a platformer that puts a timer that goes for everyone
make the high score variable
if <( time) < (☁ least time)> then
set [☁ least time v] to ( score)
end

mr_scientific wrote:

Is that the answer you were looking for?
Thanks a lot, but you don't need to necropost old topics if the problem has already been solved.

Last edited by Charles12310 (Dec. 17, 2017 22:42:24)



A few internet communication companies want to corrupt the internet by getting rid of net neutrality. Stop Them!
deck26
Scratcher
1000+ posts

how can i make a timer highscore script o the fastest time stays as highscore

The last few posts are necroposts - watch the date please.

Powered by DjangoBB