Skip to content
/ lime Public
forked from openfl/lime

A foundational Haxe framework for cross-platform development

License

Notifications You must be signed in to change notification settings

player-03/lime

This branch is up to date with openfl/lime:develop.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

12d3ee5 · Mar 21, 2025
Jan 31, 2025
Jul 15, 2019
Jul 18, 2022
Jul 1, 2024
Jan 30, 2025
Sep 4, 2024
Jul 6, 2024
Mar 21, 2025
Mar 18, 2025
Feb 10, 2025
Feb 14, 2019
Feb 20, 2025
Sep 29, 2017
Oct 1, 2014
May 19, 2022
Apr 24, 2023
Dec 19, 2024
Dec 31, 2013
Mar 26, 2019
Jan 2, 2025
Jan 2, 2025
Feb 11, 2025
Jul 5, 2018
Dec 19, 2024
Oct 18, 2014
Feb 14, 2019
Jun 16, 2024
Aug 13, 2014
Dec 29, 2017
Oct 22, 2024
Nov 14, 2024
Nov 14, 2024

Repository files navigation

MIT License Haxelib Version Build Status Community Discord Server

Lime

Lime is a flexible, lightweight layer for Haxe cross-platform developers.

Lime supports native, Flash and HTML5 targets with unified support for:

  • Windowing
  • Input
  • Events
  • Audio
  • Render contexts
  • Network access
  • Assets

Lime does not include a renderer, but exposes the current context:

  • Cairo
  • Canvas
  • DOM
  • Flash
  • GL

The GL context is based upon the WebGL standard, implemented for both OpenGL and OpenGL ES as needed.

Lime provides a unified audio API, but also provides access to OpenAL for advanced audio on native targets.

License

Lime is free, open-source software under the MIT license.

Installation

First, install the latest version of Haxe.

Then, install Lime from Haxelib and run Lime's setup command.

haxelib install lime
haxelib run lime setup

Development Builds

When there are changes, Lime is built nightly. Builds are available for download here.

To install a development build, use the "haxelib local" command:

haxelib local lime-haxelib.zip

Building from Source

  1. Clone the Lime repository, as well as the submodules:

     haxelib git lime https://github.com/openfl/lime
    
  2. Install required dependencies:

     haxelib install format
     haxelib install hxp
    
  3. Copy the ndll directory from the latest Haxelib release, or see project/README.md for details about building native binaries.

  4. After any changes to the tools or lime/tools directories, rebuild from source:

     lime rebuild tools
    
  5. To switch away from a source build:

     haxelib set lime [version number]
    

Sample

You can build a sample Lime project with the following commands:

lime create HelloWorld
cd HelloWorld
lime test neko

You can also list other projects that are available using "lime create".

Targets

Lime currently supports the following targets:

lime test windows
lime test mac
lime test linux
lime test android
lime test ios
lime test html5
lime test flash
lime test air
lime test neko
lime test hl

Desktop builds are currently designed to be built on the same host OS

Join the Community

Have a question? Want a new place to hang out?

About

A foundational Haxe framework for cross-platform development

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 37.7%
  • C 29.1%
  • Haxe 21.5%
  • C++ 6.2%
  • CSS 3.5%
  • Java 1.5%
  • Other 0.5%