Unknown GMS Function

Posted by rosaskenneth
Iv'e notice that theirs a gms function that not exists on the documentation
gms_optimized_enable_speed_polyfill(enable);
gms_optimized_request_data_update(resource_type, resource_id, resource_name);
gms_optimized_set_sending_policy();
What is this function for?

Replies (1)

Last message on 18 Aug 2019

Size43 (Administrator) on 18 Aug 2019, 15:01:14
For the last two, please see the explanation here:https://gamemakerserver.com/en/news/49/
By default, the extension will calculate the "speed" of a synced instance by comparing its current position to its last position. If you want to disable this, and instead have the extension use the speed and direction variables directly, you can call gms_optimize_enable_speed_polyfill(false) to disable the feature.