The video shown is showing what’s happening. The tween works for pc, but then any other device doesn’t work. I have used auto scale lite, used scale for everything, used UIAspectRatioContraints as well and I’m so confused on what to do.
1 Like
Can you show the code so that I can review it to attempt to assist you with this issue.
1 Like
Of course!
QualityHolder.SliderBtn.MouseButton1Click:Connect(function()
local state = QualityHolder.State
if state.Text == "Low" then
Lighting.GeographicLatitude = 152
state.Text = "Medium"
TweenManager.TweenNewPosition(QualityHolder.SliderBtn, info, UDim2.new(0.812, 0,0.37, 0))
elseif state.Text == "Medium" then
Lighting.GeographicLatitude = 95
state.Text = "High"
TweenManager.TweenNewPosition(QualityHolder.SliderBtn, info, UDim2.new(0.9, 0,0.37, 0))
elseif state.Text == "High" then
Lighting.GeographicLatitude = 291
state.Text = "Low"
TweenManager.TweenNewPosition(QualityHolder.SliderBtn, info, UDim2.new(0.729, 0,0.37, 0))
end
end)
here is the code for the graphics tween
Have you figured anything out?
Maybe make a, X value that is repeatedly checking if the GUI has passed over the farthest point. and stopping the script and resetting the X position until the player activates it again.
I think this has to do with scaling issues
that is the problem, make the script could use a refresh in a different method?
It might not work sure, but it might help figure out something about the scaling issue in a way?
Ok I found the issue. Do to my resizing in the frames, the positioning got messed up, therefore messing my tween positions up.