Skip to content
Luke edited this page Feb 12, 2016 · 7 revisions

HaxeLive is a library to help aid in designing user interfaces. The aim of this project is to remove the tedium of writing boilerplate code, and get onto simply designing the interfaces with instant feedback to guide you. There is no need to re-compile, you just need to save JSON files for the instantaneous feedback.

This library currently only has OpenFL as a backend. But the same JSON structure should apply to all backends for any that are included.

A quick start

To get it running, you can use what already exists in the repository by building the application from the command line using openfl build project.xml neko. Since live previewing only works on system targets, that is what you will need.

Contents

  1. The Basic JSON Structure
  2. Requiring other files
  3. Positioning, Alignment and Flow
  4. Coding your Game with HaxeLive
  5. Adding and Using Themes
  6. Different Methods of Colour Assignment

Backend-specific Features

OpenFL

  1. Text
  2. Simple Button's
  3. Bitmap's
  4. Sprite's
  1. Button
  2. Checkbox
  3. Gauge
  4. Image List
  5. Label
  6. Notebook
  7. Panel
  8. Radio Button
  9. Scrolled Window
  10. Slider
  11. Static Bitmap
  12. Static Box
  13. Text Control