• Stars
    star
    752
  • Rank 60,353 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 11 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A foundational Haxe framework for cross-platform development

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.

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

Clone the Lime repository, as well as the submodules:

git clone --recursive https://github.com/openfl/lime

Tell haxelib where your development copy of Lime is installed:

haxelib dev lime lime

The first time you run the "lime" command, it will attempt to build the Lime standard binary for your desktop platform as the command-line tools. To build these manually, use the following command (using "mac" or "linux" if appropriate):

haxelib install format
haxelib install hxp
lime rebuild windows

You can build additional binaries, or rebuild binaries after making changes, using "lime rebuild":

lime rebuild windows
lime rebuild linux -64 -release -clean

You can also rebuild the tools if you make changes to them:

lime rebuild tools

On a Windows machine, you should have Microsoft Visual Studio C++ (Express is just fine) installed. You will need Xcode on a Mac. To build on a Linux machine, you may need the following packages (or similar):

sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev g++ g++-multilib gcc-multilib libasound2-dev libx11-dev libxext-dev libxi-dev libxrandr-dev libxinerama-dev

To switch away from a source build, use:

haxelib dev lime

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

More Repositories

1

openfl

The Open Flash Library for creative expression on the web, desktop, mobile and consoles.
Haxe
1,894
star
2

starling

Known as the "Cross-Platform Game Engine", Starling is a popular Stage3D framework for OpenFL and Haxe
Haxe
235
star
3

away3d

An open source, real-time 3D engine for OpenFL
Haxe
207
star
4

actuate

Actuate is a flexible, fast "tween" library for animations in Haxe
Haxe
157
star
5

box2d

Haxe port of Box2D, a popular rigid-body 2D physics engine
Haxe
95
star
6

openfl-samples

Haxelib-based OpenFL sample projects
Haxe
77
star
7

svg

Provides SVG parsing and rendering for OpenFL and Haxe
Haxe
68
star
8

openfl-animate-plugin

Custom plugin for Adobe Animate CC
C++
58
star
9

hxp

Write scripts in Haxe, and execute them on Windows, macOS or Linux
Haxe
55
star
10

dragonbones

Runtime support for DragonBones skeletal animation
Haxe
39
star
11

swf

Adds support for Flash SWF assets in OpenFL projects
Haxe
38
star
12

openfl-pixi

Super fast HTML 5 2D rendering engine that uses webGL with canvas fallback
Haxe
37
star
13

lime-vscode-extension

Visual Studio Code extension for OpenFL and Lime projects written in Haxe
Haxe
28
star
14

openfl-samples-ts

OpenFL sample projects (written in TypeScript)
TypeScript
21
star
15

openfl-samples-as3

OpenFL sample projects (written in ActionScript 3.0)
ActionScript
20
star
16

openfl-js

Wrapper to support OpenFL HTML5 development using TypeScript, Haxe, JavaScript or ActionScript 3.0
ActionScript
20
star
17

www.openfl.org

OpenFL website
HTML
17
star
18

OpenFLDevelopersGuide

Learn OpenFL fundamentals with this guide that covers the display list, events, rendering text, playing sounds and more
17
star
19

away3d-samples

Away3D sample projects for OpenFL and Haxe
Haxe
16
star
20

openfl-samples-es6

OpenFL sample projects (written in ES6+ JavaScript)
JavaScript
15
star
21

openfl-samples-haxe

OpenFL sample projects (written in Haxe, using NPM)
Haxe
14
star
22

feathers

Haxe
13
star
23

lime-samples

Lime sample projects
Haxe
13
star
24

lime.openfl.org

Lime website
SCSS
8
star
25

openfl-player

Haxe
7
star
26

robotlegs

A Haxe application framework for OpenFL
Haxe
7
star
27

http-server

Provides an http-server for Haxe projects
JavaScript
7
star
28

generator-openfl

Yeoman generator for OpenFL NPM-based projects in TypeScript, ES5, ES6, AS3, and Haxe
JavaScript
7
star
29

AS3ConversionGuide

6
star
30

tweener

A class for creating tweens in haxe - because there's infinity between 0 and 1.
Haxe
6
star
31

swiftsuspenders

Fast and light-weight IoC container for Haxe
Haxe
4
star
32

books.openfl.org

HTML
3
star
33

try.openfl.org

Create a new OpenFL test sandbox (currently a redirect)
HTML
3
star
34

swf-loader

SWF loader for OpenFL projects built with Webpack
JavaScript
3
star
35

libsdl

C
3
star
36

openfl-samples-es5

OpenFL sample projects (written in ES5 JavaScript)
JavaScript
3
star
37

builds.openfl.org

Builds (currently a redirect)
HTML
1
star
38

openfl-native

[deprecated] OpenFL native backend
Haxe
1
star
39

libopenal

C
1
star
40

liblzma

C
1
star
41

libharfbuzz

C++
1
star
42

libwebm

C++
1
star
43

libjpeg

C
1
star
44

libpng

C
1
star
45

libefsw

C++
1
star
46

libneko

C
1
star
47

libfreetype

C
1
star
48

libcairo

C
1
star
49

libtinyfiledialogs

C
1
star
50

libzlib

C
1
star
51

libvorbis

C
1
star
52

libvpx

C
1
star
53

libpixman

C
1
star
54

libogg

C
1
star
55

docs.openfl.org

Docs (currently a redirect)
HTML
1
star
56

libmojoal

C
1
star
57

lime-build

[deprecated] Headers and libraries to build lime from the source
C
1
star
58

api.openfl.org

API documentation for OpenFL, the Open Flash Library for the Haxe programming language
1
star