1.0.1 • Published 2 years ago

@rbxts/boat-tween v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

BoatTween-ts

Roblox-ts typings for BoatTween, a module made by boatbomber

Installation

$ npm i @rbxts/boat-tween

Usage

import { BoatTween } from "@rbxts/boat-tween";

const part = new Instance("Part");
part.Anchored = true;
part.CanCollide = false;
part.CFrame = new CFrame(0, 5, 0);
part.Parent = game.GetService("Workspace");

const tween = BoatTween.Create(part, {
	Time: 5,
	DelayTime: 0.5,

	EasingStyle: "Smooth",
	EasingDirection: "In",

	RepeatCount: -1,
	Reverses: true,

	StepType: "Stepped",

	Goal: {
		CFrame: new CFrame(0, 10, 0),
	},
});

tween.Play();

Exported types

BoatTweenData<T extends Instance> // Options passed to BoatTween.Create
BoatTweenObject<T extends Instance> // Object returned from BoatTween.Create
1.0.1-test.1

2 years ago

1.0.1

2 years ago

1.0.1-test.2

2 years ago

1.0.1-test.3

2 years ago

1.0.0

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago