Skip to content

Apostolique/Apos.Tweens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apos.Tweens

Tweening library for MonoGame.

Discord

This library is inspired by MonoTween.

Documentation

  • Coming soon!

Build

NuGet NuGet

Features

  • Interpolate float values
  • Interpolate Vector2 values
  • Interpolate Color values
  • Easing functions:
    • Linear
    • Sine
    • Quad
    • Cube
    • Quart
    • Quint
    • Circ
    • Expo
    • Back
    • Elastic
    • Bounce

Showcase

Apos.Tweens Showcase

Usage samples

var position = new Vector2Tween(new Vector2(50, 50), new Vector2(200, 200), 2000, Easing.SineIn)
    .Wait(1000)
    .Offset(new Vector2(-100, 0), 500, Easing.BounceOut)
    .Yoyo()
    .Loop();

// ...

TweenHelper.UpdateSetup(gameTime);

// ...

shapeBatch.DrawCircle(position.Value, 10f, Color.White, Color.Black, 2f);

Other projects you might like

About

Tweening library for MonoGame.

Topics

Resources

License

Stars

Watchers

Forks

Languages