Random Blocks module

I've always liked making blocks, but most of them I can't find an excuse to put them into there own module. So I piled them into this on.

thumbnail(14)

Some key blocks

random blocks script pic
random blocks script pic(1)
random blocks script pic(2)
random blocks script pic(3)
random blocks script pic(18)
And a whole lot of other loop blocks.

Link to project

So far 29 blocks, More to come!
+6 added on 8/22/24
+7 added on 8/29/24
+1 added on 9/24/24
+4 added on 10/3/24 (3 repaired/improved)

I can't help but compliment you on your custom blocks. However, one that is acting differently from what I expected is your MOVE/JUMP block—the JUMP function, more specifically. When the inputs are, respectively, "jump," "10," "forward," and "local," the sprite just jerks forward as if a MOVE function was carried out; and, weirdly, no pen trails appear when I run it. When I change the last input to "global," it goes straight up instead—yet the second input is still "forward"—and, still, no pen trails appear. :thinking: :question:

And, of course, there are some custom blocks that I just don't understand. :confused:

Fixed

Old

New

That did not improve anything. I see all you did was replace GO TO with GLIDE, but with an input of 0, that does exactly the same thing.

Go to causes the sprite to teleport to that location where glide moves it there (thus there should be pen trails).

Well, there still aren't any. And the pen trails weren't the only problem.

did you use pen down?

Yes.

I just saved the project try reloading the site.

Still nothing.

Hold on how many steps are you moving?
because it's working for me
random blocks script pic(7)
Screenshot 2024-08-21 172307

I was using the JUMP function, not move.

FYI, 10.

ah well the line is so short that it is under the sprite.

I just tried 100 steps, and there's still nothing. I literally turned on draggable and move it before posting about the problem.

can you send me the script you are running?

You were right.

random blocks script pic

your jumping.
move will put a line
jump will not

I know. I just told you that. Jumping is the problem.

EDIT: Wait...

How? I'm not seeing anything in your code for that.

Click to show