Mobile Notch

The Mobile Notch plugin is specifically designed to implement notch control and detection features in both Android and iOS, for games built using Construct 3 and Construct 2.


The Mobile Notch plugin detects notches or cutouts of your mobile device. 


Note: This plugin is currently deprecated, please use the official Platform Info object in Construct 3 that supports this feature.

PlayFab API v2.png

Introduction

Step 1.png

The Construct Master Collection supports the full and easy integration of native mobile Android SDKs and iOS SDKs for both Construct 3 and Construct 2.


Please click here to learn more about Mobile.

Features


The Mobile Notch plugin is specifically designed to implement notch control and detection features in both Android and iOS, for games built using Construct 3 and Construct 2.


The Mobile Notch plugin detects notches or cutouts of your mobile device. 


Note: This plugin is currently deprecated, please use the official Platform Info object in Construct 3 that supports this feature.


Here are some of the native features of the mobile plugin:

  • Android notch detection

  • iOS notch detection

  • Measure notch size in pixels

  • Offset-top size, in pixels.

  • Offset-bottom size, in pixels.

  • Offset-left size, in pixels.

  • Offset-right size, in pixels.

  • Auto-adjust on screen orientation change.

For more information about native mobile or Android and iOS features, please click here to learn the introductory lessons to Mobile.


Platform Integration


Here are some of the platforms that are natively supported:

  • Android

  • iOS

  • Native Android

  • Native iOS


Build Support


Here are some of the supported build options:


Editor Features


Here are some of the features in the Construct editor:

  • Construct 3

  • Construct 2

 
 

How to use?

It is easy to use the Mobile Notch plugin, you will only need to follow the steps below.

1. The first step is to add the Mobile Notch object into the project.


2. Check the debug mode property to log errors in the console. This is used for mobile debugging.



3. The Mobile Notch object has 2 modes.

One is the Basic mode, which allows to check if both an Android device or iOS device has a cutout. However, this cannot measure the cutout size.


Another is the Android Advanced, on Android it can detect if there is a notch or a cutout in the mobile device, and also measure the cutout size in pixels.

 
 

Documentation

There is currently nothing to show, we will add more in the future.

 

Actions, Conditions & Expressions

Actions

1/0

Conditions

The following condition groups:

  • General

press to zoom

press to zoom
1/1

General

  • Has Notch - Checks if the device has a notch, for both Android and iOS.

Expressions

press to zoom

press to zoom
1/1

The following expression groups:

  • Android Advanced

Android Advanced

  • OffsetTop - Returns the top notch size, in pixels.

  • OffsetBottom - Returns the bottom notch size, in pixels.

  • OffsetRight - Returns the right notch size, in pixels.

  • OffsetLeft - Returns the left notch size, in pixels.

Object   Properties

Plugin Properties

press to zoom

press to zoom
1/1

The following property groups:

  • Configuration

Configuration - The configuration section for the mobile notch.

  • Debug Mode - If toggled enabled, it will log errors on the Developer Tools : Console.


  • Mode - If basic, it will detect notches for both android and ios. If advanced, it will detect notches for android and its offset in pixels.

  • Basic

  • Android Advanced

 
 

Showcase

There is currently nothing to show, we will add more in the future.

 

Game Projects 

Instructions Kit

Construct 3 Project
Construct 3 Project

press to zoom
Construct 2 Project
Construct 2 Project

press to zoom
Construct 3 Project
Construct 3 Project

press to zoom
1/2

Specifications

  • Instructions - The game project contains instructions and steps on how to use the addon and its features.

  • Action, Conditions and Expressions - It covers the implementation of each action, condition and expression.

  • Tips and Tricks - It provides some tips and tricks on the recommended ways of using the addon.

Supporters

Only