Personal Libraries | Dev-log & announcements

Of course. I only have these since the others are only saving tests:

Left, right, top and bottom.spl

name=Tethrarxitet - Left, right, top and bottom
description=Small blocks to position sprites correctly
xml=<blocks><block-definition s="set left to %&apos;left&apos;" type="command" category="motion"><comment w="199.56521739130437" collapsed="false">Sets the X position of the sprite so that the left touches the new value.</comment><header></header><code></code><translations></translations><inputs><input type="%n" initial="1">0</input></inputs><script><block s="changeXPosition"><block s="reportDifference"><block var="left"/><block s="reportGet"><l><option>left</option></l></block></block></block></script></block-definition><block-definition s="set right to %&apos;right&apos;" type="command" category="motion"><comment x="0" y="0" w="199.56521739130437" collapsed="false">Sets the X position of the sprite so that the right touches the new value.</comment><header></header><code></code><translations></translations><inputs><input type="%n" initial="1">0</input></inputs><script><block s="changeXPosition"><block s="reportDifference"><block var="right"/><block s="reportGet"><l><option>right</option></l></block></block></block></script></block-definition><block-definition s="set top to %&apos;top&apos;" type="command" category="motion"><comment x="0" y="0" w="199.56521739130437" collapsed="false">Sets the Y position of the sprite so that the top touches the new value.</comment><header></header><code></code><translations></translations><inputs><input type="%n" initial="1">0</input></inputs><script><block s="changeYPosition"><block s="reportDifference"><block var="top"/><block s="reportGet"><l><option>top</option></l></block></block></block></script></block-definition><block-definition s="set bottom to %&apos;bottom&apos;" type="command" category="motion"><comment x="0" y="0" w="199.56521739130437" collapsed="false">Sets the Y position of the sprite so that the bottom touches the new value.</comment><header></header><code></code><translations></translations><inputs><input type="%n" initial="1">0</input></inputs><script><block s="changeYPosition"><block s="reportDifference"><block var="bottom"/><block s="reportGet"><l><option>bottom</option></l></block></block></block></script></block-definition></blocks>

(I published these in the post "A slightly more advanced version of position and size")

SciSnap! quick load.spl

name=Tethrarxitet - SciSnap! quick load
description=Load SciSnap! without the extra blocks.
xml=<blocks><block-definition s="load SciSnap!" type="command" category="sensing"><header></header><code></code><translations></translations><inputs></inputs><script><block s="doApplyExtension"><l>src_load(url)</l><list><l>libraries/SciSnap3Extensions.js</l></list></block></script></block-definition></blocks>