Closed unitycoder closed 8 years ago
have u manage to figure this out cuz im trying to solve it with no luck
I have one version using that list of buffers.. havent tried on mobile, i can email you this version if want to try..?
that will be awesome I can test it on different devices
sent.
i tested it on :
note : for android i'm not so sure it is lagging cuz of undo or some stuff need to be optimized in my code
On androids it does get slow if you use full screen resolution, like 2048×1536, that is huge texture to update.. (using resolution scaler like 0.5 or 0.25 helps alot, then can add post effect to camera for extra antialias to smoothen it)
i'm looking into adding option to split canvas to smaller pieces which should fix it, but makes flood fills, patterns paints etc. bit difficult to handle..
one thing I'm trying to make the user get list of the colors he used to color his room walls i can just record the selected colors but if the user erased the color then it should not be in the list do u have i a way to do it without effect the performance and read the pixels colors again.
multiple undos, using list of undo buffer arrays is in v1.96
can you send me multi undo to me ?
its available in the asset store (v1.96)
Currently only 1 undo step is possible, because all drawing is applied to the texture directly. More undo steps would require saving multiple copies of the whole texture (or atleast parts of it)