microsoft / pxt-ev3

Microsoft MakeCode editor for the LEGO MINDSTORMS EV3 Brick
https://makecode.mindstorms.com/
Other
54 stars 39 forks source link

Screen clear lines block #1039

Closed THEb0nny closed 1 year ago

THEb0nny commented 1 year ago

A block that can clear multiple lines at once. In general, it is necessary so that in the screen output cycle, first clearing, and then printing ten lines, flickering occurs on the screen because screen output is not a fast operation. Therefore, I think that it is better to clear some lines first before outputting to them.

image

I would indicate the default values of the array, but as I understand it, pxt-core does not support such an option.

THEb0nny commented 1 year ago

image