Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
61 lines (46 sloc) 2.28 KB

AmberPlayer Logo

Overview

The AmberPlayer executes the Amber script with GUI.

Synopsys

you can launch this application by open command on macOS terminal.

open -a AmberPlayer.app --args [options] script-file

Description

The AmberPlayer executes single page application written by the Amber programming language.

Short Long argument Description
--version Display version information
--verbose none Set verbose mode ON

When the --verbose Set verbose mode. If this is is set following logs are generated:

  • The compiler's output
  • The information of layouts of components

The log window

Capabilities

This application accesses following resources.

macOS

  • Use selected script file access (read only)
  • Script file on iCloud access (read only)

iOS

  • Script file on iCloud access (read only)

Programming Reference

Screen shots

Startup Screen

If you don't give the source script at the command line, The startup screen is displayed to select source script. Startup Screen

Press "Select Script" button to select Amber script file on iCloud. Select Script

The screen is switched to new GUI which is described by user script. User Screen

Sample Scripts

  • sprite: Sample for sprite graphics
  • timer: Sample for timer
  • operation: Sample for operation to execute on parallel thread.
  • navbar: Sample for navigation bar

Related links

You can’t perform that action at this time.