Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.17 KB

README.md

File metadata and controls

46 lines (33 loc) · 1.17 KB

Morph is a powerful TweenService wrapper module designed to simplify the management of tweens in Roblox.

When dealing with many tweens, Roblox's TweenService requires individual variables for each Tween, which can become difficult to manage.
Morph addresses this issue by providing a container for states, streamlining the process and making your code cleaner and more organized.

Features

  • State Management: Add and manage multiple tweens within a single container.
  • Easy Integration: Includes every tween function for easy migration.

Installation

  1. Head to releases
  2. Download the latest version Morph.rbxm file
  3. Insert it into your game
  4. You are ready to use it!!

Example

local Animator = Morph.new(part)
    :AddState {
        Id = "Id1",
        Info = TweenInfo.new(2),
        Goal = {
            Position = Vector3.zero
        }
    }

Animator:Play("Id1")

task.wait(1)
Animator:Pause()

--Resume animation
Animator:Play()
--Cancel animation
Animator:Cancel()

License

Morph is licensed freely under MIT. Use it as you want, and if you feel like it, give me a shoutout!