Description
Please use TweenGMX which has replaced TweenGMS for GameMaker 2.3+
===
TweenGMS Pro is a feature-rich tweening engine which is both flexible and easy-to-use.
With years of development, it offers essential and advanced features powered by an optimised codebase.
Boost the look of your games by tweening movement, rotation, scale, views, paths, and much more!
Not familiar with tweening? See this video.
You can also check out:
Come join the TweenGMS Discord Server!
[Features]
- Fire-and-forget tweening
- Step and seconds(delta) timing
- Time scale control (global and per-tween)
- Play modes (once,bounce,patrol,loop,repeat)
- State control (pause,resume,stop,finish,reverse)
- Automatic memory and persistence management
- 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]
// Tween instance to mouse x/y position
t = TweenFire(id, EaseInOutQuad, TWEEN_MODE_ONCE, true, 0.0, 3.0, "x", x, mouse_x, "y", y, mouse_y);
// Event callback
TweenAddCallback(t, TWEEN_EV_FINISH, id, ShowMessage, "Done!");
// State control
TweenPause(t);
TweenResume(t)
TweenStop(t);
// Easy Tweens
TweenEasyMove(x, y, mouse_x, mouse_y, 0, 30, EaseOutQuad);
TweenEasyScale(1, 2, 0, 60, EaseOutElastic);
Follow @TweenGMX on Twitter for updates!
End User Licence Agreement (EULA)
Age Rating: 4+
Versions
Version 1.0.3. Published September 1, 2018
[Version 1.0.3] - Added TweenScript() and TweenMoreScript() for scheduling script calls - Updated TGMS_ExecuteEvent() to support more callback arguments - Added document to clarify which scripts can be safely deleted
[Version 1.0.2] - Added TweenMore() script for chaining tweens - Added TweenDefine() for defining or redefining tweens - Documentation tweaks
[Version 1.0.1] - Fixed crash related to TweensTarget() selection script - Added missing platform targets
GMS2 - Version 1.0.7. Published October 16, 2020
-Fixed issue where TweenPlay failed to play more than once when using TWEEN_MODE_BOUNCE
GMS2.3 - Version 1.21.0. Published December 21, 2022
-TweenGet() Fix -Improved Feather -Better Organization