Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Stamping not working
- Gamdapiko24
-
86 posts
Stamping not working
I am making an OS in scratch and I want to make a paint app. The idea is that when you open the paint app, you can drag your mouse around the canvas and it will store those movements into a list. A custom block will render it by stamping the costume to the locations in order. For some reason, it isn't stamping. I draw, and it dosent work. I see nothing. Can someone pls help ???
https://scratch.mit.edu/projects/1134263578/editor/
https://scratch.mit.edu/projects/1134263578/editor/
- imfh
-
1000+ posts
Stamping not working
Two problems:
1. Your change idx by 1 block is outside of the loop, so it only ever draws the first point.
2. The pen is on the bottom layer. That means any sprite on the stage will cover it up. You will probably need to update your code to hide most sprites and change the backdrop to something for the user to draw on.
1. Your change idx by 1 block is outside of the loop, so it only ever draws the first point.
2. The pen is on the bottom layer. That means any sprite on the stage will cover it up. You will probably need to update your code to hide most sprites and change the backdrop to something for the user to draw on.
- Gamdapiko24
-
86 posts
Stamping not working
Is there a way I can make the pen in the front layer ??? Two problems:
1. Your change idx by 1 block is outside of the loop, so it only ever draws the first point.
2. The pen is on the bottom layer. That means any sprite on the stage will cover it up. You will probably need to update your code to hide most sprites and change the backdrop to something for the user to draw on.
- RokCoder
-
1000+ posts
Stamping not working
No Is there a way I can make the pen in the front layer ???
- jmb1293634
-
1000+ posts
Stamping not working
you could stamp what you want it to go on top first then useIs there a way I can make the pen in the front layer ??? Two problems:
1. Your change idx by 1 block is outside of the loop, so it only ever draws the first point.
2. The pen is on the bottom layer. That means any sprite on the stage will cover it up. You will probably need to update your code to hide most sprites and change the backdrop to something for the user to draw on.
set [ghost v] effect to (100)to make it invisible but touching scripts still work
- 10goto10
-
1000+ posts
Stamping not working
For the purpose of an OS simulation maybe your paint app rectangle could use clones rather than stamps. Doing this would have the issue of that only at most 300 dots on the screen but you don’t have to try and hide sprites to let the stamps show on the stage. You could also make your paint app be full screen that uses a white backdrop.
- Gamdapiko24
-
86 posts
Stamping not working
No. My OS is going to be the best possible. I will do it with stamping. I already spent so much time. For the purpose of an OS simulation maybe your paint app rectangle could use clones rather than stamps. Doing this would have the issue of that only at most 300 dots on the screen but you don’t have to try and hide sprites to let the stamps show on the stage. You could also make your paint app be full screen that uses a white backdrop.
- RokCoder
-
1000+ posts
Stamping not working
I'm a fan of pen and stamping but stamping does have a quality drawback. A stamped image will never look anywhere near as sharp as a vector costume on a sprite/clone No. My OS is going to be the best possible. I will do it with stamping. I already spent so much time.
- Gamdapiko24
-
86 posts
Stamping not working
That is not a problem. This is my project.I'm a fan of pen and stamping but stamping does have a quality drawback. A stamped image will never look anywhere near as sharp as a vector costume on a sprite/clone No. My OS is going to be the best possible. I will do it with stamping. I already spent so much time.
- Discussion Forums
- » Help with Scripts
-
» Stamping not working