Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Help With Placing Pixels Based On mouseX And mouseY
- SalladShooter
-
58 posts
Help With Placing Pixels Based On mouseX And mouseY
Not to rush, but, any update on this? I still can’t seem to get the pixel placement right and I don’t understand why.
- PaSc_Clan
-
93 posts
Help With Placing Pixels Based On mouseX And mouseY
Yes, I actually just finished making a system for it. You can find it here: Not to rush, but, any update on this? I still can’t seem to get the pixel placement right and I don’t understand why.https://scratch.mit.edu/projects/1134128751/
This system actually doesn't record colors, or have any lists at all. It doesn't store data either. It will just override the color of the pixel the mouse is currently hovering with the selected color, which you can change to any color you choose from the possible colors in scratch.
Last edited by PaSc_Clan (Feb. 14, 2025 17:21:25)
- SalladShooter
-
58 posts
Help With Placing Pixels Based On mouseX And mouseY
Thanks!Yes, I actually just finished making a system for it. You can find it here: Not to rush, but, any update on this? I still can’t seem to get the pixel placement right and I don’t understand why.https://scratch.mit.edu/projects/1134128751/
This system actually doesn't record colors, or have any lists at all. It doesn't store data either. It will just override the color of the pixel the mouse is currently hovering with the selected color, which you can change to any color you choose from the possible colors in scratch.
- SalladShooter
-
58 posts
Help With Placing Pixels Based On mouseX And mouseY
One more thing how could I add an eraser tool? Similar to my current change color tool: https://scratch.mit.edu/projects/1133520896/.
Last edited by SalladShooter (Feb. 14, 2025 20:10:43)
- PaSc_Clan
-
93 posts
Help With Placing Pixels Based On mouseX And mouseY
https://scratch.mit.edu/projects/1133520896/.One more thing how could I add an eraser tool? Similar to my current change color tool:
You could make it fill the color of that pixel in with the color code of the background. It would make it look erased.
- PaSc_Clan
-
93 posts
Help With Placing Pixels Based On mouseX And mouseY
https://scratch.mit.edu/projects/1133520896/.One more thing how could I add an eraser tool? Similar to my current change color tool:
You could make it fill the color of that pixel in with the color code of the background. It would make it look erased.
I went ahead and added this into the project. You can check it out now.
- SalladShooter
-
58 posts
Help With Placing Pixels Based On mouseX And mouseY
Thank you so much!https://scratch.mit.edu/projects/1133520896/.One more thing how could I add an eraser tool? Similar to my current change color tool:
You could make it fill the color of that pixel in with the color code of the background. It would make it look erased.
I went ahead and added this into the project. You can check it out now.
- SalladShooter
-
58 posts
Help With Placing Pixels Based On mouseX And mouseY
One final question, since I removed the lists to store the pixels, what could I do to add an animation functionality? Should I somehow add back the lists or something else?
- PaSc_Clan
-
93 posts
Help With Placing Pixels Based On mouseX And mouseY
One final question, since I removed the lists to store the pixels, what could I do to add an animation functionality? Should I somehow add back the lists or something else?
Animation functionality for what exactly? Could you be more specific?
- SalladShooter
-
58 posts
Help With Placing Pixels Based On mouseX And mouseY
I want to be able to make an animation software in the project similar to that of the online software Piskel.One final question, since I removed the lists to store the pixels, what could I do to add an animation functionality? Should I somehow add back the lists or something else?
Animation functionality for what exactly? Could you be more specific?
- SalladShooter
-
58 posts
Help With Placing Pixels Based On mouseX And mouseY
Thats also why I was using lists before to store each frame so I could animate between them.I want to be able to make an animation software in the project similar to that of the online software Piskel.One final question, since I removed the lists to store the pixels, what could I do to add an animation functionality? Should I somehow add back the lists or something else?
Animation functionality for what exactly? Could you be more specific?
- SalladShooter
-
58 posts
Help With Placing Pixels Based On mouseX And mouseY
Using your current system it still might be possible to save a frame in a list item to animate, but I don’t necessarily know how to accomplish it.Thats also why I was using lists before to store each frame so I could animate between them.I want to be able to make an animation software in the project similar to that of the online software Piskel.One final question, since I removed the lists to store the pixels, what could I do to add an animation functionality? Should I somehow add back the lists or something else?
Animation functionality for what exactly? Could you be more specific?
- SalladShooter
-
58 posts
Help With Placing Pixels Based On mouseX And mouseY
To build each frame it might have to place a pixel by moving every x and y through each letter of the list item (similar to my old system). And then it can animate by building different frames.
- PaSc_Clan
-
93 posts
Help With Placing Pixels Based On mouseX And mouseY
Using your current system it still might be possible to save a frame in a list item to animate, but I don’t necessarily know how to accomplish it.Thats also why I was using lists before to store each frame so I could animate between them.I want to be able to make an animation software in the project similar to that of the online software Piskel.One final question, since I removed the lists to store the pixels, what could I do to add an animation functionality? Should I somehow add back the lists or something else?
Animation functionality for what exactly? Could you be more specific?
I’m sure I can come up with something. I don’t have direct access to my computer right now though, so it may be a little while until I make the system. I can certainly see what I can do for you.
- Discussion Forums
- » Help with Scripts
-
» Help With Placing Pixels Based On mouseX And mouseY