GameMaker (2.3)
Icon

Notch - Mobile

Bragi Estúdios

You must be logged in to obtain assets

Description

————————————————————————————————————————

All our extensions are free, if you use them, consider making a donation to paypal =D

For business contact: [email protected]

————————————————————————————————————————

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 (Version 1.0.3):

  • 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
  • iPhone 12 Mini
  • iPhone 12
  • iPhone 12 Pro
  • iPhone 12 Pro Max

End User Licence Agreement (EULA).

Age Rating: 4+

Versions

GMS2 - Version 1.0.2. Published March 21, 2020

GMS2.3 - Version 1.0.4. Published June 3, 2021

  • Add iPhone 12 Mini, iPhone 12, iPhone 12 Pro and iPhone 12 Pro Max;
  • Bug when compiling on YYC fixed;
Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait