简体   繁体   English

HTML5 canvas 游戏无法在 IE 中运行

[英]HTML5 canvas game not working in IE

I'm working on a HTML5 canvas game using a JavaScript library called Propulsionjs.com.我正在使用 JavaScript 库开发 HTML5 canvas 游戏,名为 Propulsionjs.Z4D236D9A20D102C5ECDA6BAD1 The preview can be seen here: http://druls.com/balloon/ .预览可以在这里看到: 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.为了在 IE 中启用 canvas 元素,我已经包含了一些库,如 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>

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 .这里的源代码: http://druls.com/balloon/balloons.zip

Because on line 1567: value.call(value,value);因为在第 1567 行: value.call(value,value);

value is undefined and IE9 is stopping execution. value未定义,IE9 正在停止执行。

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

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