Hi!
Im trying to make a 2D game with Guis, i have made a movement system my self, but
its not smooth, i mean it like it just snaps in to the next position.
Here the game if you want to see what i mean:
here is the code:
local debounce = false
game:GetService("UserInputService").InputBegan:Connect(function(inputObject, gameProcessedEvent)
if inputObject.KeyCode == Enum.KeyCode.W then
if not debounce then
debounce = true
script.Parent.Position = script.Parent.Position + UDim2.new(0,0,-0.1)
end
wait(0.3)
debounce = false
end
end)
is there a way i can make it with TweenService and animations?
Thanks!
AlexFuzzy21