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:
- @Ripull - Equations for filling in gaps
- @kisty1 - Angle equation help
- @morashsPeasant - Color wheel base
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
- Yes
- No
0 voters
- 0
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
0 voters