What do you want to achieve?

I want to make this Game Menu UnConventional, it changes regarding its statistics, but I don’t know how it did it.

I tried to use the resources that Roblox makes available to you, but it wasn’t even close to the original, maybe it requires insane calculations, or it’s just an image that somehow follows.

2 Likes

dthecoolest
(dthecoolest)
September 12, 2023, 10:44pm
#2
Just found out its called a radar chart after some googling, once I found that out you can find some posts on the topic.

You might want to look into making a system that would draw 2D triangles to get that fill, and to make the borders, drawing lines between the outer points of those triangles. What I would mean by this is, if you’re drawing the triangle for the Power stat, the first point would be the center of the chart, the second point would be however far out the stat is in the direction of Power, and then the third would be the same, but for the Speed stat instead.
As for how you may actually draw these tri…
local sp=script.Parent
local HALF = Vector2.new(0.5, 0.5);
local IMG = Instance.new("ImageLabel");
IMG.BackgroundTransparency = 1;
IMG.AnchorPoint = HALF;
IMG.BorderSizePixel = 0;
local RIGHT = "rbxassetid://319692151";
local LEFT = "rbxassetid://319692171";
local function drawtriangle(a, b, c, w1, w2)
local ab, ac, bc = b - a, c - a, c - b;
local abd, acd, bcd = ab:Dot(ab), ac:Dot(ac), bc:Dot(bc);
if (abd > acd and abd > bcd) then
c, a = a, c;
elseif (acd > bcd and acd > abd) then
a…
2 Likes

system
(system)
Closed
September 26, 2023, 10:45pm
#3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.