MIT License

项目介绍

openfl/lime 是一个托管在 GitHub 上的开源项目,主要使用 JavaScript 编写,采用 MIT License 许可证,目前获得 856 个 Star、389 次 Fork。

仓库全名
openfl/lime
开源许可证
MIT License
Star 数
856
Fork 数
389
未关闭 Issue
165

README 摘要

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…

完整内容见 GitHub 原始 README 或本页 。

常见问题

lime 用什么语言开发?

主要使用 JavaScript 编写,采用 MIT License 许可证,目前有 856 个 Star。

lime 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 lime 的源码?

可以直接克隆仓库:git clone https://github.com/openfl/lime.git,默认分支为 develop;安装与运行步骤见仓库 README。

lime 最近还在维护吗?

仓库最近一次更新为 1 周前,当前有 165 个未关闭 Issue;Star 数为 856,可作为社区活跃度的参考。

关于

A foundational Haxe framework for cross-platform development

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
1681
价值分
626
活跃状态
活跃

语言占比

C
C#
C++
CSS
Dockerfile
HTML
Haxe
Java
JavaScript
Makefile
Objective-C++
PowerShell
Python
Shell

Release

README

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

评论

暂无评论