Snap! v10.5 released

Do y'all never bug test your beetle projects?

It's because the beetle library never loads with a block, but instead with what I believe is a special tag, and so it never loads it before it's time to run the green flag.

One thing I believe should work is extension [src_load(url) V] [libraries/beetle/init.js] @<:> at the beginning of any beetle project.

press the green flag again
edit: i added a delay before starting the project so the library has time to load.

As it turns out, as does mine!

It's because of a hidden variable called __module__beetle__. If snap find a variable that starts with __module__, it will then try to load the contents as a javascript extension. Why it doesn't load it before starting the project automatically? Beats me. (the variable can be found in the "hide blocks" dialog)

Off-topic because you have chat disabled somehow

Hello, I was thoroughly surprised by your existence elsewhere (YouTube)

Good day.

And I've just patched v10.5.1 with support for portrait / landscape orientation. Enjoy!

is this a new block that's part of the library? I don't really see anything.

According to the GitHub commit I think jens means that the angles that the new block reports now take into account whether or not the device is in landscape mode or portrait mode. The block is in the Mobile Device Sensors library.

Image

If you don't see it, you probably need to clear your cache.

Ok!

I noticed that the tilt controls felt all sorts of messed up, so I think I improved it