GameMaker (2.3)
Icon

GMTwerk 2

FrostyCat

You must be logged in to obtain assets

Description

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).

Age Rating: 4+

Version

GMS2.3 - Version 2.0.6. Published April 26, 2021

This is a critical patch update for all GMS 2.3.x versions.

New Features

  • You can now specify a specific GMTwerkBank to enqueue into using the bank option, available on all actors.

Bug Fixes

  • Worked around <opts> parameter crash on GMS 2.3.2 (YoYo Marketplace)
  • Fixed GMTwerkBank's self-cleaning routine to avoid accidentally dropping actors that should still be active (GitHub #1)
Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait