Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement interp.redraw equivalent #89

Closed
tmickel opened this issue Jul 5, 2016 · 0 comments
Closed

Implement interp.redraw equivalent #89

tmickel opened this issue Jul 5, 2016 · 0 comments
Assignees
Milestone

Comments

@tmickel
Copy link
Contributor

tmickel commented Jul 5, 2016

In Scratch 2.0, there's a global interpreter flag that tracks whether a block has triggered a sprite's drawn representation to become out-of-date. E.g, a "move 10 steps" block would trigger redraw, but a "set var to 20" wouldn't. The value of this flag determines whether or not a loop yields at the end of a frame (if the interpreter isn't in turbo mode). We need an equivalent flag in scratch-vm, and we can also use something similar to determine whether we should call the renderer's draw method.

https://github.com/LLK/scratch-flash/blob/master/src/interpreter/Interpreter.as#L84

@tmickel tmickel added the feature label Jul 5, 2016
@thisandagain thisandagain added this to the Backlog milestone Jul 19, 2016
@tmickel tmickel self-assigned this Jul 22, 2016
@tmickel tmickel removed their assignment Aug 31, 2016
@tmickel tmickel mentioned this issue Sep 8, 2016
@tmickel tmickel added bug and removed feature labels Sep 13, 2016
@tmickel tmickel modified the milestones: October 20, Backlog Sep 19, 2016
@tmickel tmickel self-assigned this Sep 21, 2016
@tmickel tmickel closed this as completed Oct 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants