Open TheAwesome98-Real opened 4 years ago
So are you suggesting a "stamp on top" block?
If you first stamp the sprite that you want in the back layer and then stamp the sprite you want in the front layer, it should work.
@BoomerScratch I think they mean stamping in front of an actual sprite, not another pen layer. Although this could be a workaround in some cases, if you need a moving or animated sprite and are doing other things with the pen this can be hard.
So are you suggesting a "stamp on top" block?
yes, that is what i meant
Although this could be a workaround in some cases, if you need a moving or animated sprite and are doing other things with the pen this can be hard.
(I have used clone for now, i may need to think of creative ways to deal with the limit) yeah, the two background sprites are parallax scrollers, but the stamps don't scroll. i will need to use clone for now, but if this is added, i will use it.
yeah, the two background sprites are parallax scrollers, but the stamps don't scroll. i will need to use clone for now, but if this is added, i will use it.
You can send a broadcast to the parallax scrollers to stamp first and then send one to stamp the front layer, like this:
@BoomerScratch Thanks! That makes sense
yeah, the two background sprites are parallax scrollers, but the stamps don't scroll. i will need to use clone for now, but if this is added, i will use it.
You can send a broadcast to the parallax scrollers to stamp first and then send one to stamp the front layer, like this:
that's a cool workaround idea, thanks! I'll try that. EDIT: I tried this:
whenFlagClicked {
forever {
pen.eraseAll();
broadcast("background-stamp");
broadcast("middleground-stamp");
renderLevelPart("0-0-1-1"); // this is a custom function, that calls renderBlockAt(type, xpos, ypos); a bunch of times, that just switches costume, goes to x and y, and stamps. but the ground does not appear over the parallax scrollers. what have I done wrong?
}
}
Expected Behavior
stamp
draws over sprites (reproduced using clone)Actual Behavior
stamp
draws under sprites (although that's intended behaviour)Steps to Reproduce
Position a sprite over another sprite (preferably at the edge, half in, half out), and run
stamp
on the sprite. The stamp should appear on the backdrop, and not over the sprite. If it is over the sprite, you have done it wrong, or this has been implemented (therefore you have used the wrong block).Operating System and Browser
Chromium 73.0.3683.75 (Developer Build) built on Debian 9.8, running on Linux Lizard v1.0a (32-bit)