|
|
|
<!DOCTYPE html>
|
|
|
|
<!--
|
|
|
|
NOTES:
|
|
|
|
1. All tokens are represented by '$' sign in the template.
|
|
|
|
2. You can write your code only wherever mentioned.
|
|
|
|
3. All occurrences of existing tokens will be replaced by their appropriate values.
|
|
|
|
4. Blank lines will be removed automatically.
|
|
|
|
5. Remove unnecessary comments before creating your template.
|
|
|
|
-->
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="authoring-tool" content="Adobe_Animate_CC">
|
|
|
|
<title>bird</title>
|
|
|
|
<!-- write your code here -->
|
|
|
|
<style>
|
|
|
|
#animation_container, #_preload_div_ {
|
|
|
|
position:absolute;
|
|
|
|
margin:auto;
|
|
|
|
left:0;right:0;
|
|
|
|
top:0;bottom:0;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<script src="libs/1.0.0/createjs.min.js"></script>
|
|
|
|
<script src="bird.js"></script>
|
|
|
|
<script src="js/index.js"></script>
|
|
|
|
<script src="js/custom.js"></script>
|
|
|
|
<script src="js/classes/bird.js"></script>
|
|
|
|
<script src="js/classes/count.js"></script>
|
|
|
|
<script src="js/classes/back.js"></script>
|
|
|
|
<script src="js/classes/time.js"></script>
|
|
|
|
<script src="js/classes/level.js"></script>
|
|
|
|
<script src="js/classes/sound.js"></script>
|
|
|
|
<script src="js/classes/end.js"></script>
|
|
|
|
<script src="js/test.js"></script>
|
|
|
|
<!-- write your code here -->
|
|
|
|
</head>
|
|
|
|
<body onload="init();" style="margin:0px;">
|
|
|
|
<div id="animation_container" style="background-color:rgba(255, 255, 255, 1.00); width:1280px; height:720px">
|
|
|
|
<canvas id="canvas" width="1280" height="720" style="position: absolute; display: none; background-color:rgba(255, 255, 255, 1.00);"></canvas>
|
|
|
|
<div id="dom_overlay_container" style="pointer-events:none; overflow:hidden; width:1280px; height:720px; position: absolute; left: 0px; top: 0px; display: none;">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id='_preload_div_' style='position:absolute; top:0; left:0; display: inline-block; height:720px; width: 1280px; text-align: center;'> <span style='display: inline-block; height: 100%; vertical-align: middle;'></span> <img src=images/_preloader.gif style='vertical-align: middle; max-height: 100%'/></div>
|
|
|
|
<div style="position: fixed; top: 0; left: 0; z-index: 999;padding: 20px">
|
|
|
|
<h3>测试功能区</h3>
|
|
|
|
<button onclick="Count.of()">开始倒计时</button>
|
|
|
|
<button onclick="timeInstance.start()">开始游戏</button>
|
|
|
|
<button>结束游戏</button>
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|