简体   繁体   English

html5 canvas游戏无法在android avd中正常工作

[英]html5 canvas game not working properly in android avd

I have developed a html5 canvas game(Arkanoid game) using javascript. 我已经使用javascript开发了html5 canvas游戏(打砖块游戏)。 it is working fine in ff n crome browsers. 在frome浏览器中工作正常。 Later i have downloaded an app from phonegap.com and using eclipse and android sdk i have run the game in android virtual device, but the problem is the game is working very very slow and if i click on the canvas element to call mousedown event the entire canvas is being selecting... 后来我从phonegap.com下载了一个应用程序,并使用eclipse和android sdk在android虚拟设备上运行了游戏,但问题是游戏运行非常缓慢,如果我单击canvas元素调用mousedown事件,整个画布正在选择...

what might b the problem?? 这可能是什么问题?

is there any other way to convert that html5 page to android .apk file??? 有没有其他方法可以将该html5页面转换为android .apk文件???

thanks in advance. 提前致谢。

The emulator is much, much slower than an actual device. 仿真器比实际设备慢得多。 Try using an actual android phone for testing, it would really help. 尝试使用实际的Android手机进行测试,这确实会有所帮助。

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

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