A color picker can be used to change the background and text colors directly on the block.
The pivot is now in the sprite's center.
@bh : It would be fantastic if this sprite could be imported into another project. You require a button; add it to your program! Unfortunately, the export function lacks a "for all sprite" block, which is currently used in this sprite. When we import this sprite into another project, we end up with undefined blocks. Very disappointing...it's hard to reuse code easily.
This does not need to be rewritten if i import a sprite:
Export the blocks.
Snap! XML needs the block to already exist in the project or else it will be undefined.
If I were to import this into my game, it wouldn't work because there is no custom block named "log",
So I would have to export the blocks first. <custom-block s="log %mlt"><l>Restarting the virtual drive in 2...</l></custom-block>
FInally I understand what the original reason was to export a sprite rather than a library (that's the plural of "block" :~) ). But the trouble with the sprite solution, apart from the missing block, is that with this solution you can only make one button. Really the BUTTON COSTUME block should create a sprite... although I guess it could clone the sprite if it specified to share the scripting area.
So, EXPORT SPRITE should export the transitive closure of its blocks. Dunno if Jens will be convinced, but I am. :~)
Didn't Jens say something about a backpack a while ago?
We could move anything from one project to another using a sprite as a "container."
Perhaps that is the key...
The undefined blocks are the missing link.
Jens presented the new features "my blocks," "split by blocks," and "definition of blocks" in a video: He was able to figure out which block was utilised by which sprite (I believe...) We're not far from achieving our objective...
I get it. Okay, thanks. So it's not an error in the library, it's that the library isn't sprite-local so doesn't get exported with the sprite. (I thought you meant that some other library used that block without importing it.) Sigh, I'm doubtful about convincing Jens, but we'll see.