简体   繁体   English

由于Flash开发中出现“找不到类型:lime.ui.Joystick”,因此无法将我的HaxeFlixel游戏发布为html5

[英]Can't publish my HaxeFlixel game to html5 due to “Type not found : lime.ui.Joystick” from flash develop

I get 'C:/HaxeToolkit/haxe/lib/openfl/3,3,9/openfl/display/Stage.hx:23: characters 7-23 : Type not found : lime.ui.Joystick' Whenever I try to publish to html5 from flash develop. 我得到'C:/HaxeToolkit/haxe/lib/openfl/3,3,9/openfl/display/Stage.hx:23:字符7-23:找不到类型:lime.ui.Joystick'每当我尝试发布时从Flash开发到html5。 I've run haxelib update on openfl, flixel, and lime, with no change. 我已经在openfl,flixel和lime上运行haxelib更新,没有任何更改。 Has anyone run into this, and is there a simple fix? 有没有人遇到这个问题,有没有简单的解决方法?

Source can be found here: https://github.com/jrdoughty/RTSBase 可以在这里找到源: https : //github.com/jrdoughty/RTSBase

I'm not sure but you could try to disable gamepads by adding 我不确定,但是您可以尝试通过添加来禁用游戏手柄

<haxedef name="FLX_NO_GAMEPAD" />

in project.xml http://haxeflixel.com/documentation/gamepads/ , or if you need them, you could exclude only for html5 target 在project.xml http://haxeflixel.com/documentation/gamepads/中 ,或者如果需要它们,则可以仅针对html5目标排除

<haxedef name="FLX_NO_GAMEPAD" if="html5" />

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM