A downloadable thingy

Download NowName your own price

This lets you create objects purely in GML code. Need a basic object just so you can access an async event for one simple thing? Well now you can do it without having to make another obj_async_save_load_handler to clutter your asset browser.

Functions:

  • object_create() - Creates a new dynamic object (internally a ds map)
  • object_instance_create_depth(x, y, depth, object, [var_struct]) - Identical to instance_create_depth() except you pass a dynamically created object made with object_create() instead of an object asset
  • object_instance_create_layer() - Similar to above
  • object_destroy() - Since dynamic objects use ds maps, you can clean them up when no longer needed
  • object_set_* - There are separate functions for every single event type an object can have which should be straightforward to use, you just pass in the dynamic object and a callback function to assign to that event (see the screenshot on this page for examples)
StatusReleased
CategoryOther
Rating
Rated 5.0 out of 5 stars
(2 total ratings)
Authortopherlicious
TagsGameMaker

Download

Download NowName your own price

Click download now to get access to the following files:

obj_create.yymps 48 kB
Version 1.0.0

Leave a comment

Log in with itch.io to leave a comment.