GameMaker (2.3)
Icon

TweenGMX

Stephen Loney

You must be logged in to obtain assets

Description

WARNING: This is a beta. Documentation is incomplete and the codebase is not guaranteed to be stable. Use at your own risk.

You can find some of the new features discussed in this video.

=======

TweenGMX is the next generation of tweening, succeeding TweenGMS by taking advantage of new features available in the latest versions of GameMaker.

Built upon many years of development, TweenGMX is both flexible and easy-to-use, offering essential and advanced features powered by an optimised codebase.

Boost the look of your games by easily tweening movement, rotation, scale, and MUCH more!

Not familiar with tweening? See this video.

You can also check out:

Interactive Demo

Video Tutorials

Online Script Reference

[Features]

  • Fire-and-forget tweening
  • Supports custom animation curves
  • Step(frame) and seconds(delta) timing
  • Time scale control (global, group, tween)
  • Play modes (once,bounce,patrol,loop,repeat)
  • State control (pause,resume,stop,finish,reverse)
  • Automatic memory and persistence management
  • Supports animation curves as custom ease types
  • Advanced callback system
  • Custom variable easing
  • Path resource tweening
  • Data structure support
  • Delayed tweens
  • Control groups
  • Heavily optimised
  • Supports all platforms
  • And more...

[Code Example]

// EASE POSITION TO MOUSE x/y POSITION OVER 3 SECONDS
TweenFire(self, "ioSine", "once", true, 0.0, 3.0, "x>", mouse_x, "y>", mouse_y);

// "EASY TWEENS"
TweenEasyMove(x, y, mouse_x, mouse_y, 0, 30, EaseOutQuad);
TweenEasyScale(1, 2, 0, 60, EaseOutElastic);

// ADVANCED "OFF-RAIL" TWEEN -- EASE image_angle TO 180 OVER 2 SECONDS
t = TweenFire("~io", "$2.0", "image_angle>", 180);

// ADD EVENT CALLBACK
TweenAddCallback(t, "finish", self, Show_Text, "Done!");

// SET TWEEN STATE
TweenPause(t);
TweenResume(t)
TweenStop(t);

Follow @TweenGMX on Twitter for updates!

Proverbs 3:5-6

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS2.3 - Version 0.16.1. Published November 15, 2022

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait