microsoft / pxt-brainpad

Microsoft MakeCode editor for the GHI Brainpad
https://makecode.brainpad.com/
Other
3 stars 11 forks source link

Image Blockys need access to screen variable. #106

Closed greg-norris closed 6 years ago

greg-norris commented 6 years ago

The "screen" variable isn't available to us in the editor. So we can't use any of the drawing or transformation functions under images. The screen functions can be accessed on the Javascript side, just not the blocky.

Code Example: https://makecode.com/_iAEeKpPvgPE3

greg-norris commented 6 years ago

Curious if there is any update on this issue? We're still not able to draw line or pixel under Advanced Images ? I think you mentioned something about the screen variable not being reveled, when you both were here? I know we were able to get it working on the JavaScript side.

pelikhan commented 6 years ago

You will find a image.screenImage block in beta.