Jump to content

Drawing pixels canvas support.


Recommended Posts

Hello guys, so I really need your help about something I've been working on since morning and There is a problem that I didn't find an answer for it.


I've made a drawing-able canvas pixels but I am facing a problem is when you change a color after drawing something, it changes the whole stuff you draw.

I want it if I draw something in black and changed the color to red and draw in red, I want the stuff i did draw in black stays black and the red stays in red, if somebody can help me with the code of it :/ 

https://gyazo.com/b6535fcc91fc10b233e66f3ce09af945 thats my problem :( I want the colors to save not to change when i change it.

Thank you.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...