Discuss Scratch

sccar3
Scratcher
100+ posts

Run without screen refresh

When you make a custom block, one of the advanced options is “Run without screen refresh”. What does that do?

10-year Scratch veteran. Fight me.
nXIII
Scratcher
1000+ posts

Run without screen refresh

Normally, after each iteration of a control structure (like <forever> or <repeat ()>) Scratch stops executing the current script and goes on to the next one (this is called yielding). When it has finished executing one iteration of the rest of the scripts, it refreshes the screen (i.e. redraws the sprites in their new positions with their new attributes). It then repeats this process until it finishes executing the control structure.

“Run without screen refresh” causes a custom block to run all at once and not refresh the screen until it has finished executing. This is useful if you want to prevent the flickering that often results when, e.g., you loop through a list and draw each element.

Last edited by nXIII (Dec. 14, 2012 21:12:55)


nXIII · GitHub
Wes64
Scratcher
500+ posts

Run without screen refresh

its like running in turbo mode

wow outposted by 4 seconds

Last edited by Wes64 (Dec. 14, 2012 21:12:59)


Using Firefox 46.0.1, Flash plugin version 21.0.0.242, and Windows 7 Professional.
A computer does what you tell it to do, not what you want it to do. - Murphy's Law
nXIII
Scratcher
1000+ posts

Run without screen refresh

Wes64
its like running in turbo mode
Not quite. Turbo mode does as many cycles as possible in a fixed amount of time, then refreshes the screen. Run without screen refresh does enough cycles to exit the block, then refreshes the screen.

Last edited by nXIII (Dec. 14, 2012 21:14:50)


nXIII · GitHub
sccar3
Scratcher
100+ posts

Run without screen refresh

nXIII
Normally, after each iteration of a control structure (like <forever> or <repeat ()>) Scratch stops executing the current script and goes on to the next one (this is called yielding). When it has finished executing one iteration of the rest of the scripts, it refreshes the screen (i.e. redraws the sprites in their new positions with their new attributes). It then repeats this process until it finishes executing the control structure.“Run without screen refresh” causes a custom block to run all at once and not refresh the screen until it has finished executing. This is useful if you want to prevent the flickering that often results when, e.g., you loop through a list and draw each element.
Thanks, that helps.

10-year Scratch veteran. Fight me.
derpmeup
Scratcher
1000+ posts

Run without screen refresh

Mega bump. This was the oldest topic in the whole section…

hey bro that's a pretty good meme xD!
derpmeup
Scratcher
1000+ posts

Run without screen refresh

sccar3 wrote:

When you make a custom block, one of the advanced options is “Run without screen refresh”. What does that do?

Well, anyways, the run without screen refresh is a feature that you can put on your custom blocks. Without it on, the screen will refresh itself before running the block again. With it on, the screen won't refresh and it will run the custom block automatically again, so it will make it faster. I always turn that option on when I make custom blocks. Especially if you are doing a pen rendered project, everything should have run without screen refresh. I hope I helped!

hey bro that's a pretty good meme xD!
Sonickyle
Scratcher
1000+ posts

Run without screen refresh

derpmeup wrote:

Mega bump. This was the oldest topic in the whole section…
Please don't necrobump topics that seem no longer relevant or answered.

No I don't make projects anymore. I left some time ago.
I only check the forums every now and then, but other than that consider me retired.
jontmy00
Scratcher
500+ posts

Run without screen refresh

Sonickyle wrote:

derpmeup wrote:

Mega bump. This was the oldest topic in the whole section…
Please don't necrobump topics that seem no longer relevant or answered.
It is still relevant, however. Some Scratchers do not know the difference between Turbo Mode and ‘run without screen refresh’.
Penton1753
Scratcher
19 posts

Run without screen refresh

sccar3 wrote:

When you make a custom block, one of the advanced options is “Run without screen refresh”. What does that do?
What it does is does the block without refreshing the screen. The screen is going to run this script without the refreshing of the screen if the setting is enabled.
define move
move (pick random (1) to (10)) steps
12424
Scratcher
65 posts

Run without screen refresh

when you click the stop button It's still runs if you tick it

My OS is : Windows 3.1 (Changed)



















... {... :: hat control} :: hat control // I bet you can't do that
... (... :: cap control) :: cap control // I bet you can't do that
Check This out
Please don't click here
http://www.pcjs.org/devices/pc/machine/5160/cga/256kb/win101/






























DO NOT CLICK HERE















Are We missing some or wrong? Don't worry
Ⓦⓐⓝⓣ ⓢⓞⓜⓔ ⓑⓤⓑⓑⓛⓔ ⓑⓐⓛⓛ ⓣⓔⓧⓣ ⓖⓞ ⓣⓞ : ⓗⓣⓣⓟ://ⓦⓦⓦ.ⓑⓤⓑⓑⓛⓔⓑⓐⓛⓛⓣⓔⓧⓣ.ⓒⓞⓜ
ɯoɔ˙ʇxǝʇuʍopǝpᴉsdn˙ʍʍʍ//:dʇʇɥ : oʇ oƃ ʇxǝʇ uʍop ǝpᴉsdn ǝɯos ʇuɐM
Want some rainbow text go to :
http://www.glitter-graphics.com/generators/rainbow.php
Ɯαит ƨσмɛ ƨcяαмвℓɛ∂ тɛϰт ɢσ тσ : нттρ://ωωω.ɢℓιттɛя-ɢяαρнιcƨ.cσм/ɢɛиɛяαтσяƨ/ƨcяαмвℓɛ.ρнρ
Click the image to download this (only for chrome)






http://i57.tinypic.com/wr11le.jpg




OS: Microsoft Codename Whistler
Flash Version: Flash 17.0 (release 0)
Browser: Firefox
Users: @click_follow_or_eat @peekaboo3
















and go to
http://atom.smasher.org/





Need help
if <(username) = [12424]> then
I will help you :: list
else
Ask (username) :: list
end
Pot-of-Gold
Scratcher
1000+ posts

Run without screen refresh

12424 wrote:

when you click the stop button It's still runs if you tick it
Please don't necropost


Click to play

Powered by DjangoBB