游戏说明:
打怪,杀怪,升级!胧村镇恶贼横行,你化身成为一名侠客,来驱赶这些恶贼,禁止他们再祸害胧村镇的人。
图片演示:
代码摘要:
HTML:
<div class="ad_bottom">
<div id="spn">
</div>
</div>
<canvas id="gameCanvas" width="800" height="450"></canvas>
CSS:
<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>
<style>
.ad_bottom {
text-align: center;
left:0px;
right:0px;
bottom:0px;
position: fixed;
background-color:transparent;
z-index:999;
}
#ifr{height: 50px!important;}
</style>
JS:
<script>
var st = eg.share('胧村镇');
st.title('胧村镇');
st.desc('在胧村镇,唯我无双');
st.icon('#');
</script>
引入JS:
<script src="game.min.js"></script>