kopia lustrzana https://github.com/backface/turtlestitch
made the "paste on" block avaible in the "pen" palette
rodzic
b013884c68
commit
499a571468
|
@ -2,6 +2,7 @@
|
|||
|
||||
## in development:
|
||||
* **New Features:**
|
||||
* new "paste on" block in the pen category, prints a sprite onto another one
|
||||
* new "rgba" option in "(aspect) AT (location)" sensing reporter, returns a 4-item list of values from 0-255 (same is pixels from a costume)
|
||||
* "temporary?" attribute is now programmatically settable (in the SET->my... block)
|
||||
* **Notable Changes:**
|
||||
|
@ -12,6 +13,7 @@
|
|||
* new dev version
|
||||
* blocks, threads: added "rgba" option to (aspect) AT (location) reporter in the sensing category
|
||||
* blocks, threads: made "temporary?" attribute for clones settable (in the SET->my... block)
|
||||
* objects: made the "paste on" block avaible in the "pen" palette
|
||||
|
||||
## v5.0.9
|
||||
* **New Feature:**
|
||||
|
|
|
@ -84,7 +84,7 @@ BlockEditorMorph, BlockDialogMorph, PrototypeHatBlockMorph, BooleanSlotMorph,
|
|||
localize, TableMorph, TableFrameMorph, normalizeCanvas, VectorPaintEditorMorph,
|
||||
HandleMorph, AlignmentMorph, Process, XML_Element, WorldMap*/
|
||||
|
||||
modules.objects = '2019-August-06';
|
||||
modules.objects = '2019-August-07';
|
||||
|
||||
var SpriteMorph;
|
||||
var StageMorph;
|
||||
|
@ -2324,24 +2324,8 @@ SpriteMorph.prototype.blockTemplates = function (category) {
|
|||
blocks.push(block('write'));
|
||||
blocks.push('-');
|
||||
blocks.push(block('reportPenTrailsAsCostume'));
|
||||
|
||||
// for debugging: ///////////////
|
||||
|
||||
if (this.world().isDevMode) {
|
||||
|
||||
blocks.push('-');
|
||||
txt = new TextMorph(localize(
|
||||
'development mode \ndebugging primitives:'
|
||||
));
|
||||
txt.fontSize = 9;
|
||||
txt.setColor(this.paletteTextColor);
|
||||
blocks.push(txt);
|
||||
blocks.push('-');
|
||||
blocks.push(block('doPasteOn'));
|
||||
}
|
||||
|
||||
/////////////////////////////////
|
||||
|
||||
blocks.push('-');
|
||||
blocks.push(block('doPasteOn'));
|
||||
blocks.push('=');
|
||||
blocks.push(this.makeBlockButton(cat));
|
||||
|
||||
|
@ -8296,24 +8280,8 @@ StageMorph.prototype.blockTemplates = function (category) {
|
|||
blocks.push(block('setBackgroundHSVA'));
|
||||
blocks.push('-');
|
||||
blocks.push(block('reportPenTrailsAsCostume'));
|
||||
|
||||
// for debugging: ///////////////
|
||||
|
||||
if (this.world().isDevMode) {
|
||||
|
||||
blocks.push('-');
|
||||
txt = new TextMorph(localize(
|
||||
'development mode \ndebugging primitives:'
|
||||
));
|
||||
txt.fontSize = 9;
|
||||
txt.setColor(this.paletteTextColor);
|
||||
blocks.push(txt);
|
||||
blocks.push('-');
|
||||
blocks.push(block('doPasteOn'));
|
||||
}
|
||||
|
||||
/////////////////////////////////
|
||||
|
||||
blocks.push('-');
|
||||
blocks.push(block('doPasteOn'));
|
||||
blocks.push('=');
|
||||
blocks.push(this.makeBlockButton(cat));
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue