mirror of https://github.com/axmolengine/axmol.git
27 lines
929 B
HTML
27 lines
929 B
HTML
<!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"/>
|
|
<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>
|
|
<body style="padding:0; margin: 0; background: #000;">
|
|
<canvas id="gameCanvas" width="800" height="450"></canvas>
|
|
<script src="frameworks/cocos2d-html5/CCBoot.js"></script>
|
|
<script src="main.js"></script>
|
|
</body>
|
|
</html> |