Displaying a Message

Displaying a Message - Hello world

  1. Let’s try displaying a message in the center of the app. The default center label is set to a black background with white text.

// main.js

App.showCenterLabel("Hello world");

2. Result

Please Note

  • For the tutorial, we recommend setting the app type to Mini-Game.

  • The JSON file name must be “main”. Please create a new text file and name it main.js.

  • If you do not know how to deploy an app, please refer to the ZEP Script Deployment Guide.

Last updated