# Mini-Game Configuration

The game.json file in the root directory of the Mini-Game is used to configure the Mini-Game. The file content is a JSON object with the following properties:

# 1. game.json Configuration Item List

Property Type Required Description Description
deviceOrientation String No 'portrait' Screen orientation selection
compatibleMode Boolean No false true indicates rendering using compatibility mode (Currently fixed as true on Android and cannot be modified)

deviceOrientation Value Description

Value Description Remarks
portrait Portrait orientation. Does not rotate with the user's phone rotation.
landscape Landscape orientation with the home button on the right side of the screen. When the user's phone does not have screen orientation locked, the landscape orientation will rotate with the phone's rotation.
landscapeLeft Landscape orientation with the home button on the left side of the screen Supported from SDK 2.41.5
landscapeRight Landscape orientation with the home button on the right side of the screen Supported from SDK 2.41.5
© FinClip with ❤ , Since 2017