FrostyCat
Redemption Seeker
GMTwerk 2
Delay actions and animate values with ease
Overview
GMTwerk 2 allows you to set delays, listen to conditions and animate values asynchronously using a fire-and-forget interface. One GMTwerk 2 actor can replace alarms, timelines and many kinds of step event code in a compact, at-source form. Focus on what you want to do, not how to continue it in future steps — and smooth out your animations with unprecedented ease along the way.
Downloads / Links
GitHub: Link | Repository | Wiki
YoYo Marketplace: Link
Quick Starters
Execute an action after 1 second
Animate a value and then execute an action
Execute an action when a condition becomes satisfied later
Feedback Welcome!
If you have any suggestions for new actors/use cases or bug reports, please open an issue or contribute on GitHub.
Delay actions and animate values with ease
Overview
GMTwerk 2 allows you to set delays, listen to conditions and animate values asynchronously using a fire-and-forget interface. One GMTwerk 2 actor can replace alarms, timelines and many kinds of step event code in a compact, at-source form. Focus on what you want to do, not how to continue it in future steps — and smooth out your animations with unprecedented ease along the way.
Downloads / Links
GitHub: Link | Repository | Wiki
YoYo Marketplace: Link
Quick Starters
Execute an action after 1 second
GML:
Delay(1000, function() {
show_message("Time's up!");
});
GML:
Tween(InstanceVar("image_alpha"), 0, 500, [
"onDone", function() {
instance_destroy();
}
]);
GML:
WhenTrue(function() {
return bbox_top > room_height;
}, function() {
show_message("You fell!");
});
If you have any suggestions for new actors/use cases or bug reports, please open an issue or contribute on GitHub.
Last edited: