GameMaker Studio 2
Icon

Notch - Mobile

Bragi Estúdios

You must be logged in to obtain assets

Contact Publisher

Description

This extension offers the ability to detect whether the phone has a notch on the screen. And if it do, return the safe area for drawing, and the notch area.

On Android, this extension will force the app to use the entire screen, including the notch area, removing the black region, generated by default in phones with a notch on the screen.

  • Extension for Android and iOS.

Download the sample APK: Download

Check out the operating guide: Here

The current functions are:

NOTCH_is()

NOTCH_getSafeInsetBottom()
NOTCH_getSafeInsetLeft()
NOTCH_getSafeInsetRight()
NOTCH_getSafeInsetTop()

NOTCH_getBottom(display_orientation, ios_deviceSimulator)
NOTCH_getLeft(display_orientation, ios_deviceSimulator)
NOTCH_getRight(display_orientation, ios_deviceSimulator)
NOTCH_getTop(display_orientation, ios_deviceSimulator)

Current compatible devices:

  • All Android devices
  • All iOS devices without a notch on the screen
  • iPhone X (CDMA)
  • iPhone X (GSM)
  • iPhone Xs
  • iPhone Xs Max
  • iPhone Xs Max China
  • iPhone XR
  • iPhone 11
  • iPhone 11 Pro
  • iPhone 11 Pro Max

End User Licence Agreement (EULA).

Age Rating: 4+

Version

GMS2 - Version 1.0.2. Published March 21, 2020

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait

Back to Top