[英]How to use Haxe language for html5 as a target
I want to develop a multi-platform game using Haxe but I am not sure where to start. 我想使用Haxe开发多平台游戏,但是我不确定从哪里开始。 I am targeting for HTML5 and I want Java-like coding structure classes methods and all.
我的目标是HTML5,我想要类Java的编码结构类方法以及所有方法。
Which platforms do you want to use? 您要使用哪些平台? You said you want to target HTML5, so you mean every platform with a browser?
您说过要针对HTML5,因此您是说每个平台都带有浏览器? Or also apps?
还是应用程序?
I personally am a great fan of Flambe, a framework build on top of Haxe. 我个人是Flambe(在Haxe之上构建的框架)的忠实拥护者。 This outputs superfast HTML5 (using both 2D canvas and WebGL if available), Flash (uses Stage3D) which I use as fallback on older browsers but Flash is also used to compile to iOS & Android apps using Adobe AIR.
这会输出超快的HTML5(使用2D画布和WebGL(如果可用)),Flash(使用Stage3D),我将其用作旧版浏览器的后备设备,但Flash也用于使用Adobe AIR编译为iOS和Android应用程序。 This is all integrated in the framework.
这些都集成在框架中。
More info: http://getflambe.com/ 更多信息: http : //getflambe.com/
Quick start guide: https://github.com/markknol/flambe-guide/wiki < I hope this will answer your question ("where to start") 快速入门指南: https : //github.com/markknol/flambe-guide/wiki <我希望这会回答您的问题(“从哪里开始”)
You can also use OpenFL http://www.openfl.org/ with Haxe Flixel http://haxeflixel.com/ to build crossplatform games. 您还可以将OpenFL http://www.openfl.org/与Haxe Flixel http://haxeflixel.com/一起使用来构建跨平台游戏。
Of course as in any other language, read the manual to learn about the Haxe language, this one is getting better and I think will help you too. 当然,就像使用其他任何语言一样,请阅读手册以了解Haxe语言,这已经越来越好了,我认为也会对您有所帮助。 http://haxe.org/documentation/introduction/
http://haxe.org/documentation/introduction/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.