代码拉取完成,页面将自动刷新
<!DOCTYPE HTML>
<html>
<head>
<title>Cocos2d-HTML5</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="icon"
type="image/GIF"
href="samples/tests/res/Images/favicon.ico"/>
<link href='http://fonts.googleapis.com/css?family=Nunito:700,300' rel='stylesheet' type='text/css'>
<style type="text/css">
body {
margin: 0;
padding: 0 20px;
font-family: 'Nunito', sans-serif;
font-weight: 300;
}
H1 {
font-size: 68px;
font-weight: 700;
background: -webkit-gradient(linear, left top, left bottom, from(#29c9e2), to(#115e8b));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-family: impact;
}
ol {
font-size: 18px;
}
a:visited {
color: #2c4676;
}
a {
color: #1c8eb2;
}
a:hover {
color: #29c9e2;
}
.comment {
color: #4b4b4b;
}
</style>
</head>
<body style="background: #f2f6f8;">
<h1><a href="index.html"><img src="samples/tests/res/Images/cocos2dbanner.png"/></a>
</h1>
<hr/>
<ol>
<li><a href="HelloHTML5World/index.html">Hello World</a> <span
class="comment"> - Hello World for Cocos2d-HTML5</span></li>
<li><a href="samples/tests/index.html">Test cases</a> <span class="comment"> - Engine Testcases</span></li>
<li><a href="template/index.html">Template</a> <span class="comment"> - Cocos2d-html5 Template</span></li>
<li><a href="samples/games/MoonWarriors/index.html">MoonWarriors</a> <span class="comment"> - Game</span></li>
<li><a href="samples/games/FruitAttack/index.html">Fruit Attack</a> <span class="comment"> - Game</span></li>
<li><a href="samples/games/MoonWarriors/simulator.html">MoonWarriors Simulator</a> <span class="comment"> - Game runs on simulator</span></li>
</ol>
<hr/>
<h2>Note</h2>
<div style="width:800px">
<p>I am A_xin.I went to program game,use my mind!Yes I am While games written with Cocos2d-html5 should work offline, but some browsers won't allow this to happen.
Browsers that deny access to certain functions such as XMLHttpRequest that fails for "file:// " protocol, but
Cocos2d-html5 engine depend on this to read many files such as a .plist file.</p>
<p>Some versions of Firefox, Safari and Opera are notable exceptions.</p>
<p>If you wish to use other browsers, you need a webserver. It doesn't mean a seperate computer, you can download a
free webserver program to your computer. Here is some popular webserver program:
<ul>
<li><a href="http://www.apachefriends.org/en/xampp.html">XAMPP</a>: for windows, Mac, Linux</li>
<li><a href="http://www.wampserver.com/en/">WAMP</a>: for windows</li>
<li><a href="http://www.mamp.info/en/index.html">MAMP</a>: for Mac</li>
</ul>
Once you install a webserver, go to your installation directory, there should be a directory called "htdocs" or
"www", place Cocos2d-html5 files in there. Then point your browser to http://localhost/.</p>
<p>Cocos2d-html5 should now work without any errors</p>
</div>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。