Overview
GMTwerk 2 allows you to set delays, listen to conditions and animate values asynchronously using a fire-and-forget interface. 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.
Documentation
See the Wiki section on the official GitHub repository.
Quick Examples
Execute an action after 1 second
Delay(1000, function() {
show_message("Time's up!");
});
Execute an action when a condition becomes satisfied
WhenTrue(function() {
return bbox_top > room_height;
}, function() {
show_message("You fell!");
});
Animate a value and then execute an action
Tween(InstanceVar("image_alpha"), 0, 500, [
"onDone", function() {
instance_destroy();
}
]);
End User Licence Agreement (EULA).
Initial release (re-upload)