简体   繁体   中英

Unable to get haxe-pixi.js to work

***EDIT: OK! Got it working. The missing library in the html was the trick. The pixi.min.js file was missing from the haxelib directory, not sure if that's normal.

Another more complex question: what's the possibility of including pixijs as a renderer/html5 backend in openfl/haxeflixel?

I tried to include haxe-pixi in openfl/flixel projects targetting html5 but the same error comes back despite including pixijs in the .html file and project.xml files


i am unable to get haxe javascript + Pixi.js library to work in flashdevelop.

I have installed haxe, used haxelib to dl pixijs library, included pixijs in my project properties... But when i run the project in html, a blank white screen appears.

But i could still use typical javascriipt stuff without the pixi library eg buttons, helloworld

Coming from a flash background, im new to javascript and haxe... Appreciate ur help, thanks in advance!

听起来您可能已经忘记在HTML中包含pixiJS。

unfortunately I couldn't write that string here, because it contains html tags

string for index.html is: [script src="pixi.min.js"][/script] and you need to change "[" to "<" and "]" to ">"

place this string between tags body and /body

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