HTML5 画布游戏无法在 IE 中运行
我正在使用名为 Propulsionjs.com 的 JavaScript 库开发 HTML5 画布游戏。可以在此处查看预览:http://druls.com/balloon/。为了在 IE 中启用画布元素,我添加了一些库,例如 extcanvas,但游戏的某些部分仍然无法正常工作。
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script type="text/javascript" src="excanvas.js"></script>
有人可以帮我吗?我发现精灵元素不起作用。谁能帮我解决这个问题?源代码在这里:http://druls.com/balloon/balloons.zip。
I'm working on a HTML5 canvas game using a JavaScript library called Propulsionjs.com. The preview can be seen here: http://druls.com/balloon/. To enable the canvas element in IE I have included a few of libraries like extcanvas, still some part of the game is not working properly.
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script type="text/javascript" src="excanvas.js"></script>
Can anyone help me out? As I found out sprite elements are not working. Can anyone help me solving this issue? The source code here: http://druls.com/balloon/balloons.zip.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
因为第 1567 行:
value.call(value,value);
value
未定义,IE9 正在停止执行。Because on line 1567:
value.call(value,value);
value
is undefined and IE9 is stopping execution.