diff --git a/README.md b/README.md index 9b3a8c4..0f7920b 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Via [wally](https://wally.run): ```toml [dependencies] -GlassmorphicUI = "boatbomber/glassmorphicui@0.4.1" +GlassmorphicUI = "boatbomber/glassmorphicui@0.5.0" ``` Alternatively, grab the `.rbxm` standalone model from the latest [release.](https://github.com/boatbomber/GlassmorphicUI/releases/latest) diff --git a/demo/init.client.lua b/demo/init.client.lua index 652e66b..3e02db1 100644 --- a/demo/init.client.lua +++ b/demo/init.client.lua @@ -8,13 +8,14 @@ ScreenGui.Parent = script.Parent local background = Instance.new("ImageLabel") background.Name = "Background" -background.Size = UDim2.fromScale(1, 1) +background.Size = UDim2.fromScale(0.5, 1) background.Image = "rbxassetid://16620841089" background.ZIndex = 0 background.Parent = ScreenGui local blurryWindow = GlassmorphicUI.new() -blurryWindow.BackgroundTransparency = 0.5 +blurryWindow.BackgroundTransparency = 0.7 +blurryWindow.Position = UDim2.fromScale(0.5, 0.3) blurryWindow.BackgroundColor3 = Color3.fromRGB(7, 48, 84) blurryWindow.Size = UDim2.fromScale(0.3, 0.3) blurryWindow.AnchorPoint = Vector2.new(0.5, 0.5) @@ -34,14 +35,14 @@ textLabel.Position = UDim2.fromScale(0, 0.1) textLabel.Parent = blurryWindow -- Make the window move in a circle -task.spawn(function() - local x, y - while true do - x = (math.cos(os.clock() * 2) / 5) + 0.5 - y = (math.sin(os.clock() * 2) / 5) + 0.5 - blurryWindow.Position = UDim2.fromScale(x, y) - task.wait() - end -end) +-- task.spawn(function() +-- local x, y +-- while true do +-- x = (math.cos(os.clock() * 2) / 5) + 0.5 +-- y = (math.sin(os.clock() * 2) / 5) + 0.5 +-- blurryWindow.Position = UDim2.fromScale(x, y) +-- task.wait() +-- end +-- end) blurryWindow.Parent = ScreenGui diff --git a/package.json b/package.json index 17c9811..06d5e9a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@boatbomber/glassmorphicui", - "version": "0.4.1", + "version": "0.5.0", "license": "MPL 2.0", "repository": { "type": "git", diff --git a/wally.lock b/wally.lock index 6366e79..b49eb4b 100644 --- a/wally.lock +++ b/wally.lock @@ -9,10 +9,10 @@ dependencies = [] [[package]] name = "boatbomber/glassmorphicui" -version = "0.4.1" -dependencies = [["EditableImageBlur", "boatbomber/editableimageblur@0.3.1"], ["PixelColorApproximation", "boatbomber/pixelcolorapproximation@0.1.3"]] +version = "0.5.0" +dependencies = [["EditableImageBlur", "boatbomber/editableimageblur@0.3.1"], ["PixelColorApproximation", "boatbomber/pixelcolorapproximation@0.2.1"]] [[package]] name = "boatbomber/pixelcolorapproximation" -version = "0.1.3" +version = "0.2.1" dependencies = [] diff --git a/wally.toml b/wally.toml index 794c641..248d617 100644 --- a/wally.toml +++ b/wally.toml @@ -1,7 +1,7 @@ [package] name = "boatbomber/glassmorphicui" description = "Glassmorphic UI in Roblox" -version = "0.4.1" +version = "0.5.0" license = "MPL 2.0" authors = ["boatbomber (https://boatbomber.com)"] registry = "https://github.com/upliftgames/wally-index" @@ -11,4 +11,4 @@ exclude = ["**"] [dependencies] EditableImageBlur = "boatbomber/editableimageblur@0.3.1" -PixelColorApproximation = "boatbomber/pixelcolorapproximation@0.1.3" +PixelColorApproximation = "boatbomber/pixelcolorapproximation@0.2.1"