top of page

Mobile Orientation

The Mobile Orientation plugin is designed to control screen orientation for your mobile applications on both Android and iOS, for projects built using Construct 3.


Extend Construct 3's orientation features, both initial application orientation and runtime orientation.


Lock or unlock your application's orientation. Utilize all seven (7) orientation modes available on the mobile device your application is running on.

  • Portrait (Both sides)

  • Portrait (1st side)

  • Portrait (2nd side)

  • Landscape (Both sides)

  • Landscape (1st side)

  • Landscape (2nd side)

  • Any (All orientation and sides)

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 Orientation plugin is designed to control screen orientation for your mobile applications on both Android and iOS, for projects built using Construct 3.


Extend Construct 3's orientation features, both initial application orientation and runtime orientation.


Lock or unlock your application's orientation. Utilize all seven (7) orientation modes available on the mobile device your application is running on.

  • Portrait (Both sides)

  • Portrait (1st side)

  • Portrait (2nd side)

  • Landscape (Both sides)

  • Landscape (1st side)

  • Landscape (2nd side)

  • Any (All orientation and sides)


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

  • Initial application orientation

    • Locked orientation

      • Portrait (Both sides)

      • Portrait (1st side)

      • Portrait (2nd side)

      • Landscape (Both sides)

      • Landscape (1st side)

      • Landscape (2nd side)

      • Any (All orientation and sides)

    • Unlocked orientation

  • Runtime application orientation

    • Locked orientation

      • Portrait (Both sides)

      • Portrait (1st side)

      • Portrait (2nd side)

      • Landscape (Both sides)

      • Landscape (1st side)

      • Landscape (2nd side)

      • Any (All orientation and sides)

    • Unlocked orientation

  • Orientation change event listener

  • Compare or check orientation

  • Orientation lock check

  • Native mobile debugging features

  • Well maintained and fully tested for production release.


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

Introduction
Features

How to use?

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

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


2. If the Debug property is checked, the plugin will log information and errors in the console for mobile debugging. Set this unchecked for your production release builds.



3. Lock the initial orientation of the device when running the application by checking the Lock orientation property. Otherwise, the application will use Construct 3's default orientation settings.


4. If the Lock orientation property is checked, the Type property will determine the initial orientation of the application to lock into. The following are the seven (7) orientation types the application can lock into.

  • Portrait (Both sides)

  • Portrait (1st side)

  • Portrait (2nd side)

  • Landscape (Both sides)

  • Landscape (1st side)

  • Landscape (2nd side)

  • Any (All orientation and sides)

Instructions
Documentation

Documentation

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

ACEs

Actions, Conditions & Expressions

Actions

The following action groups:

  • General

General

  • Lock orientation - Lock the application's orientation.

    • Orientation - The orientation to lock the application.


  • Unlock orientation - Allow the application to freely rotate with the device's set orientation.

Conditions

The following condition groups:

  • General

  • Events

General

  • Compare orientation - Compare the current application's orientation.

    • Type - The orientation to compare.


  • Is locked - Check if the application's orientation is locked.




Events

  • On change - Trigger fires when the application's orientation changes.

Expressions

The following expression groups:

  • General

General

  • Type - Return the current screen orientation type. Possible values: "portrait-primary", "portrait-secondary", "landscape-primary", "landscape-secondary", "portrait", "landscape" and "any".

Object   Properties

Plugin Properties

The following property groups:

  • Configuration

Configuration - The options to set the plugin settings.

  • Debug - If checked, the runtime will log runtime notifications. This should be unchecked on production builds.




Orientation - The orientation configuration section.

  • Lock orientation - Check if you would like to lock the application's orientation.


  • Type - The orientation type to lock the application.

    • portrait-primary

    • portrait-secondary

    • landscape-primary

    • landscape-secondary

    • portrait

    • landscape

    • any

Properties
Showcase

Showcase

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

Game Projects

Game Projects 

Instructions Kit

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

bottom of page