Help with my art pad pls!

Can someone pls help me with my art pad? You can see it on my account and it draws really slow.I would appreciate it a lot if you could help

4 Likes

You’re using a kinda inefficient way of doing it for your artpad. I can try to fix it up for you if you’d like, but it might take a little bit. Do you want me to try?

2 Likes

i cannot tell which project you’re referring to because they all seem to be pretty fast

3 Likes

Its the one from 3 weeks ago, currently 6 likes, name “Art Pad! #Art”, 31 plays

Or i can just do this:

3 Likes

this project is indeed very slow

2 Likes

Ok, I looked into the project and found the main issue.

You’re using 15 checks on top of each other, which is causing the project to draw a line once every 15 frames. To fix this, use nested check if else blocks.

Check once if color = 1 {
    // code for color 1 goes here
} Else {
    Check Once if color = 2 {
        // code for color 2 goes here
    } Else {

...

}

Nested check if blocks take 1 frame to run, so it’ll speed up your project significantly.

3 Likes

Or you can use a different, very simple method that also allows more colors, which is using HSB and making H, S, and B variables, and having them change when the colors are tapped.

2 Likes

I just remixed your project:

3 Likes

as others have said, the project draw is kinda slow. maybe you could add a slider or a more efficient way to display the pen size? the colour order looks pretty random too, maybe align them in rainbow order - just a personal preference tho.

3 Likes

They are aware that their project is slow. They stated than in the OP.

2 Likes

oh sorry, didn’t see that

1 Like

Thanks everyone!

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.