GameMaker (2.0 - 2.2.x)

OS Utils

Lazybones games

You must be logged in to obtain assets


This is small extensions that provide small useful features like sharing some text content, rate the game and some others.

Supported platforms: Android, iOS

Functions reference

OSUtils_share(subject, message) — This function will show OS native share dialog from where user can share text content you provided.

OSUtils_rateApp() — On Android this function will open app's page on Google Play. It automatically fetches app's Id and open link market://details? So this link opens in Play Store app. In cases if Play Store isn't installed on a device then it will open link which will be opened in a browser/ On iOS this function will show system SKStoreReviewController and player can rate your game just within the game. You can read Apple's documentation about Requesting App Store Reviews here: If iOS version is lower than 10.3 and so SKStoreReviewController isn't supported then this function will open such link in browser:

OSUtils_getOSVersion() — Will return OS version. On Android it will be something like 5.5, 9. So it's not the API version, it's an Android version. On iOS it will return something like 12.2, 11.0

OSUtils_getDeviceName() — Will return device name. On android name is created from Build.MANUFACTURER + Build.MODEL constants. So it will be something like Asus Nexus 7. On iOS it returns systemInfo.machine constant and will be somethig like iPhone8,1, iPhone9,2 and so on. You can check possible values for example here:

Release notes

1.0.0 - Initial release

End User Licence Agreement (EULA).

Age Rating: None


GMS2 - Version 1.0.0. Published May 11, 2019

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait