Drawing frame I made

Intro

Taking a short break from my custom chat and I worked on this for fun. This is my custom drawing frame module with support for all platforms (including controller support), surface GUIs (and normal GUIs), built-in replication (if-needed), and the color picker / options you see here. It’ll be a public resource once it’s done. It also has a fix for that weird mouse gap bug if you’ve ever tried to make something like this.

I started this as inspiration by some drawing games I found fun and credits for some functionality go to:

Showcase

API

It’ll be very straightforward to use when it’s released! Sample code that created this:

local canvas = ...
local drawingFrame = workspace:WaitForChild("Part"):WaitForChild("SurfaceGui"):WaitForChild("DrawingFrame")

local surfaceFrameApi = canvas.new("surface",{
	frame = drawingFrame,
	canDraw = true,
	isSurfaceGui = true,
	maxBrushSize = 15,
	defaultBrushSize = 10,
	minBrushSize = 5,
})

canvas.colorPicker.new(drawingFrame,surfaceFrameApi)
canvas.options.new(drawingFrame,surfaceFrameApi)
local ezCanvas = ...

ezCanvas:linkPlayerCanvas("surface",function(client)
	-- How to make their changes replicate for something like the surface gui seen above
	local stream = client:streamCanvas("surface","surface")
	-- Stop replication:
	stream:stop()
end)

Polls

Does this seem helpful to you?
  • Yes
  • No

0 voters

If this would be helpful to you, rate it on a scale of 1-10?
  • 0
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10

0 voters

2 Likes

Very cool. I can’t wait for when this is going to be released!

1 Like

Brilliant, I would like to see this
Released in community resources

1 Like

Any feature requests for the system?

Maybe add oil paint and undo/redo system

Also fill bucket tool, the classic

1 Like

I am thinking of brush texture. like get a image from the catalog. Let’s say fire, and the drawing instead of being drawn out of paint/ink its fire!

1 Like

Also a selector so we can move drawed parts

And also to clone

1 Like

I like this idea, but it’s gonna be a big challenge probably and a lot of math. Wish me luck if I try this!

Elaborate on oil paint?

i think you didnt use paint3D at all, the oil paint is like the brush but oily

it’s okay if you can’t do this, i am anyways patient to fill something

possible feature request:

layers
{of which includes naming, editing and removing layers}

also possibly an eraser

2 Likes