简体   繁体   中英

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. I've run haxelib update on openfl, flixel, and lime, with no change. Has anyone run into this, and is there a simple fix?

Source can be found here: 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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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