scratch2python icon indicating copy to clipboard operation
scratch2python copied to clipboard

Block support

Open Secret-chest opened this issue 3 years ago • 0 comments

Support Scratch blocks. More will be added when these are about to be finished.

Note: Rotation is rendered but blocks using it are not supported, so no linked issue.

  • [x] when flag clicked
  • [x] set x/y
  • [x] change x/y
  • [x] go to x, y
  • [x] x position (nneds #5)
  • [x] y position (needs #5)
  • [x] point in direction
  • [x] point towards mouse
  • [ ] point towards sprite
  • [x] turn left
  • [x] turn right
  • [x] direction (needs #5)
  • [x] go to mouse
  • [x] mouse x (needs #5)
  • [x] mouse y (needs #5)
  • [x] wait seconds
  • [x] wait until
  • [ ] go to sprite
  • [x] when key pressed (needs #7)
  • [ ] key pressed? (needs #7, #5)
  • [x] if then
  • [x] if then else
  • [ ] repeat until
  • [x] repeat
  • [x] forever
  • [ ] set size
  • [ ] change size
  • [ ] variable (needs #5, #6)
  • [ ] set variable (needs #6)
  • [ ] change variable (needs #6)
  • [ ] touching? (needs #5)
  • [ ] touching color? (needs #5)
  • [x] equals (needs #5)
  • [x] greater than (needs #5)
  • [x] less than (needs #5)
  • [x] + (needs #5)
  • [x] - (needs #5)
  • [x] * (needs #5)
  • [x] / (needs #5)
  • [ ] mod (needs #5)
  • [x] random (needs #5)
  • [x] go to random

Secret-chest avatar Jan 27 '22 18:01 Secret-chest