Skip to content

Scratch custom blocks have the "run without screen refresh" option #154

@lucentlavender

Description

@lucentlavender

This option can be accessed in the "more options" section of block creation or the right-click->edit popup.
Anything done within a block with this option checked will not yield as it would normally, it will run at the full speed of which the processor is capable until it is done. There is, however, a forced yield every half second so that the client does not completely lock up. This yield behaves normally, allowing all other scripts to run once, then resuming execution of the block.
This could potentially be implemented by not generating yield statements while in one of these blocks, or by replacing them with a new deferredYield, which would allow it to yield every half second.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions