篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown Haxe Lib + VS Code + Flixel相关的知识,希望对你有一定的参考价值。
1. Download latest Haxe distribute on [Haxe download](https://haxe.org/download/ "Haxe's web page")
2. Download and install [Visual Studio Code](https://code.visualstudio.com/ "Visual Studio Code web page") editor.
3. Download Vs Code Plugins Pack
1. codedox
2. Flash Debugger
3. HashLink Debugger
4. Haxe
5. Haxe Extension Pack
6. HXCPP Debugger (optional for macOS application export)
7. Lime
4. Open Terminal;
- ```$ haxelib setup```
- ```$ haxelib install lime```
- ```$ haxelib install openfl```
- ```$ haxelib install flixel```
- ```$ haxelib run lime setup flixel```
- ```$ haxelib run lime setup```
- ```$ haxelib install flixel-tools```
- ```$ haxelib update flixel```
5. To create a new project with Flixel;
- ```$ flixel tpl -n "HelloWorld"```
6. Hello World tutorial [HaxeFlixel Web Page](http://haxeflixel.com/documentation/hello-world/)
Troubleshoots;
1. If Vs Code doesn't show up after creating a project, open VS Code and type ```CMD+Shift+P``` and type ```Shell Command:install "code" command in PATH```
2. Several compile errors, refer to [Haxe Plugin wiki page](https://github.com/vshaxe/vshaxe/wiki/Troubleshooting)
以上是关于markdown Haxe Lib + VS Code + Flixel的主要内容,如果未能解决你的问题,请参考以下文章