Discuss Scratch

Scratch12300
Scratcher
500+ posts

A new c-block?

I thought, for instance, that -Scratcher-'s project, GuessTheMesh, would have looked better with an ultra-turbo mode.

Or…
My new block idea! It would look like this:
with turbo% at ()
end

And what it would do is-well, I did an experiment to see how much a variable can increase by in 1 second, and the result was about 60, but with turbo mode, it was about 2500! However, with this block, every action inside it will take 1÷# secs. So if the block said “with turbo% at (1)”, then every action would take 1÷1 secs, or 1 secs. But if the block # was 2, then every action would take 1÷2, or 0.5 secs. So that would fix the problem, because you could just wrap the scripts around the block and write in a large number. Plus, if you write in a negative number, you can make the scripts go slower! What do you think? With this script, you don't need turbo mode!

Last edited by Scratch12300 (May 19, 2013 20:28:55)


xlk
Scratcher
100+ posts

A new c-block?

Turbo mode means there's no screen refresh, its a yes no thing, no inbetweens.
Either you do all the code in a row, non stop, or leave the typical delay so you get 60fps

Scratch12300
Scratcher
500+ posts

A new c-block?

xlk wrote:

Turbo mode means there's no screen refresh, its a yes no thing, no inbetweens.
Either you do all the code in a row, non stop, or leave the typical delay so you get 60fps
What are fps?

mitchboy
Scratcher
1000+ posts

A new c-block?

Frames per second.

Capsicum annuum.
Scratch12300
Scratcher
500+ posts

A new c-block?

xlk wrote:

Turbo mode means there's no screen refresh, its a yes no thing, no inbetweens.
Either you do all the code in a row, non stop, or leave the typical delay so you get 60fps
Okay, so maybe it should not be called “with turbo% at ()”. Or is that not what you mean? What is a screen refresh? Is it like when you press F5 or reload the browser? Because I don't see anything the matter with my idea. I am so bewildered!

Failord
Scratcher
1000+ posts

A new c-block?

Mouth block is actually called a c-loop. Screen refresh is right after a block is played, so that with

repeat (10)
change {ghost} effect by (10)
end

it fades smoothly. But if you make a block called “fade away” and click “run without screen refresh” in the options dropdown and place the above script in it, it will cut right to ghost effect 100% because it plays all the blocks without showing you immediately after.

Turbo Mode is like this.

Thanks for the ride, Scratch Team and community! Unfortunately, the time has come for me to move on from Scratch, so I'll no longer be using the forums. Thanks again, and farewell!
Invisible text! This will show you if a profile I claim to be mine IS mine. Just remember to visit the profile and see if I confirmed in the comments.
For old time's sake, see the revolutionary Laser Battle 2.0! Also see Unstoppable Game!

And no, the evil kumquats didn't alter my signature…
Rub0Gameton
Scratcher
100+ posts

A new c-block?

xlk wrote:

Turbo mode means there's no screen refresh, its a yes no thing, no inbetweens.
Either you do all the code in a row, non stop, or leave the typical delay so you get 60fps
Actually, you get 30FPS ^_^.
The ST seem to have used the default Flash framerate.

Last edited by Rub0Gameton (May 19, 2013 19:49:32)

Scratch12300
Scratcher
500+ posts

A new c-block?

Failord wrote:

Mouth block is actually called a c-loop. Screen refresh is right after a block is played, so that with

repeat (10)
change {ghost} effect by (10)
end

it fades smoothly. But if you make a block called “fade away” and click “run without screen refresh” in the options dropdown and place the above script in it, it will cut right to ghost effect 100% because it plays all the blocks without showing you immediately after.

Turbo Mode is like this.
Maybe it will make more sense if I come back to it. But maybe if the turbo% is more then some number, then it would run without screen refresh.

Last edited by Scratch12300 (May 19, 2013 20:31:42)


Scratch12300
Scratcher
500+ posts

A new c-block?

Bump. This became one of my oldest posts.

ProdigyZeta7
Scratcher
1000+ posts

A new c-block?

Did you know in Snap! there's a warp block which is similar to what you're suggesting?



Scratch12300
Scratcher
500+ posts

A new c-block?

ProdigyZeta7 wrote:

Did you know in Snap! there's a warp block which is similar to what you're suggesting?
Yes, I actually did!

Powered by DjangoBB