Haxe and OPENFL Deployment

Source: Internet
Author: User

Haxe and OPENFL Deployment

Haxe is a cross-platform programming language, and this article is not a haxe tutorial, but a deployment tutorial for OPENFL and Haxe.
Haxe syntax is very similar to AS3, because the domestic deployment haxe difficult, often download to half will be disconnected, so here are some winding deployment method, but also for their own memo.

OPENFL is a haxe-based game-making framework that provides 2d,3d high-performance rendering (not tested by authors), and many of the games we know are based on HAXE+OPENFL, for example:
Shiro Games Products: Evoland 2 (Chinese translation: The Land of Evolution 2)
The game will be 2D in the late scene directly transform to 3D very good, the code is based on air and Haxe, anti-compilation will know.

I am windows 7, so the system background for this article is basically similar to a system such as Windows 7,mac.

first to official website :
http://haxe.org/download/
Download the latest version of Windows installation (MAC download the corresponding installation version) '
WIN, install version: Http://haxe.org/download/file/3.2.0/haxe-3.2.0-win.exe
MAC, installation version: Http://haxe.org/download/file/3.2.0/haxe-3.2.0-osx-installer.pkg

Linux is not covered in this article.

After installing according to the mode (I installed on the C drive, so the path is: C:\HaxeToolkit):
To OPENFL official website: http://www.openfl.org/download/
OPENFL Document: http://docs.openfl.org/

In Windows mode, the environment variables are configured automatically after installing Haxe:
Run the win key +r key to turn on Run mode, enter cmd and press ENTER to open the command line:
Then enter Haxelib to check if the Haxe environment is installed:

Errors that cannot be downloaded may be reversed when you install OPENFL:
Http connection Timeout. Try running haxelib-notimeout <command> to disable timeout
Then install the OPENFL:
Haxelib-notimeout Install OPENFL
The notimeout in this directive represents a non-super-current installation OPENFL
Solution: If the previous instruction continues to fail, try to: HTTPS://GITHUB.COM/OPENFL/OPENFL, download the realse version,
Then copy the ZIP packet to C:\HaxeToolkit.
Enter in cmd: cd C:\HaxeToolkit then enter Haxelib local openfl.3.3.0.zip installation

Haxelib-notimeout Run OPENFL Setup
(The above instructions will install lime, but there will also be a timeout error, clear to http://www.openfl.org/builds/lime/,
Download the latest version, put 2.6.1 here: http://www.openfl.org/builds/lime/lime-2.6.1.zip
Then copy the ZIP packet to C:\HaxeToolkit.
Enter in cmd: cd C:\HaxeToolkit then enter Haxelib local lime-2.6.1.zip installation

Then execute haxelib-notimeout run OPENFL Setup again)

Lime-samples:https://github.com/openfl/lime-samples/releases

Openfl-samples:https://github.com/openfl/openfl-samples/releases

If an error persists while installing Hxcpp, you can try multiple executions and find the fastest node.

Tip: When you are finished, be sure to back up one version to a different disk, preventing the next loss and configuration.

Haxe and OPENFL Deployment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.