2015-07-14 18:07:17 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Cocos2d-html5 Hello World test</title>
|
|
|
|
<link rel="icon" type="image/GIF" href="res/favicon.ico"/>
|
2015-08-17 18:56:10 +08:00
|
|
|
<meta name="viewport" content="width=480, initial-scale=1">
|
2015-07-14 18:07:17 +08:00
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes"/>
|
|
|
|
<meta name="full-screen" content="yes"/>
|
|
|
|
<meta name="screen-orientation" content="portrait"/>
|
|
|
|
<meta name="x5-fullscreen" content="true"/>
|
|
|
|
<meta name="360-fullscreen" content="true"/>
|
|
|
|
<style>
|
|
|
|
body, canvas, div {
|
|
|
|
-moz-user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-ms-user-select: none;
|
|
|
|
-khtml-user-select: none;
|
|
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
2015-08-18 18:30:03 +08:00
|
|
|
<body style="padding:0; margin: 0; background: #000;">
|
2015-07-14 18:07:17 +08:00
|
|
|
<script src="res/loading.js"></script>
|
2015-08-17 18:56:10 +08:00
|
|
|
<canvas id="gameCanvas" width="480" height="720"></canvas>
|
2015-07-14 18:07:17 +08:00
|
|
|
<script src="frameworks/cocos2d-html5/CCBoot.js"></script>
|
|
|
|
<script cocos src="main.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|