Skip to content

Releases: setanarut/tween

v1.7.0 - Delay feature

09 Jun 14:32
dcbf7f0

Choose a tag to compare

What's Changed

Breaking change: The initialDelay parameter has been added to the NewTween() method.

tween.NewTween(
	1,
	10,
	time.Second*3,
	time.Second, // inital delay
	tween.InCubic,
	false,

Full Changelog: v1.6.0...v1.7.0

v1.6.0

24 Jan 00:10

Choose a tag to compare

  • time.Duration based API
  • Serializable Struct (JSON)

Full Changelog: v1.5.0...v1.6.0

v1.5.0

23 May 21:28

Choose a tag to compare

Change log

  • Added Yoyo feature to the Tween structure.
  • Updated the API with some changes.
  • Provided an example demonstrating how to use the Yoyo option.

v1.4.2

22 May 22:03

Choose a tag to compare

fix: correct variable name in README example for consistency

Full Changelog: v1.4.1...v1.4.2

v1.4.1

22 May 22:00

Choose a tag to compare

fix: correct formatting in README examples for better readability

v1.4.0

22 May 21:55

Choose a tag to compare

refactor: update tween struct fields and adjust related methods for consistency

Removed

func (t *Tween) End() float64 
func (t *Tween) Begin() float64 
func (t *Tween) Duration() float64

Full Changelog: v1.3.0...v1.4.0

v1.3.0

22 May 16:14

Choose a tag to compare

v1.3.0

  • The whole package now uses float64 instead of float32.
  • Update readme

Full Changelog: v1.2.0...v1.3.0

v1.2.0

22 May 14:54

Choose a tag to compare

retract