transytion documentation¶

transytion is a utility library for easily creating and managinig tweens in game engines like Pygame. It started out being heavily inspired by Flux and HUMP.timer from the Love2d community, but has since evolved to use syntactical features from Python to allow powerfully concise ways of creating tweens.

Contents¶

  • What is a Tween?
  • Example Usage (Pygame)
    • What is going on?
  • Chaining Tweens Together
    • Bounce then Role: A First Attempt
    • What Went Wrong? (And How to Fix It!)
  • Decorators for Tweening
  • API
    • transytion Package
      • Functions
        • call_then_tween
          • call_then_tween()
        • chain
          • chain()
        • linear
          • linear()
        • repeat
          • repeat()
        • tween_then_call
          • tween_then_call()
        • tweenify
          • tweenify()
      • Classes
        • Delay
          • Delay
        • Tween
          • Tween
            • Tween.args
            • Tween.callback
            • Tween.finished
            • Tween.pause()
            • Tween.reset()
            • Tween.resume()
            • Tween.then()
            • Tween.update()
        • TweenManager
          • TweenManager
            • TweenManager.add()
            • TweenManager.pause_all()
            • TweenManager.remove()
            • TweenManager.remove_all()
            • TweenManager.resume_all()
            • TweenManager.update()
        • TweenNode
          • TweenNode
            • TweenNode.args
            • TweenNode.duration
            • TweenNode.obj
            • TweenNode.progress
            • TweenNode.start_vals
            • TweenNode.targets
            • TweenNode.callback()
            • TweenNode.ease_func()
            • TweenNode.finish()
            • TweenNode.safe_reset_to_start()
            • TweenNode.start()
            • TweenNode.update()
    • transytion.ease_funcs Package
      • Functions
        • back
          • back()
        • bounce
          • bounce()
        • circ
          • circ()
        • cubic
          • cubic()
        • elastic
          • elastic()
        • expo
          • expo()
        • inout
          • inout()
        • linear
          • linear()
        • out
          • out()
        • quad
          • quad()
        • quart
          • quart()
        • quint
          • quint()
        • sine
          • sine()

transytion

Navigation

  • What is a Tween?
  • Example Usage (Pygame)
  • Chaining Tweens Together
  • Decorators for Tweening
  • API

Related Topics

  • Documentation overview
    • Next: What is a Tween?
©2026, Christopher Sumnicht. | Powered by Sphinx 9.1.0 & Alabaster 1.0.0 | Page source