【html5】网页版qq龙珠游戏、祖玛游戏代码_模板免费下载

html5网页版qq龙珠单机游戏下载代码

canvas制作网页版qq龙珠游戏、祖玛游戏。

<!DOCTYPE >
<html>
    <head>
        <title></title>
        <link rel="stylesheet" href="css/reset.css" type="text/css">
        <link rel="stylesheet" href="css/main.css" type="text/css">

        <meta -equiv="Content-Type" content="text/html; charset=UTF-8">

        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
		<meta name="msapplication-tap-highlight" content="no"/>

        <script type="text/javascript" src="js/jquery-2.0.3.min.js"></script>
        <script type="text/javascript" src="js/createjs-2013.12.12.min.js"></script>
        <script type="text/javascript" src="js/main.js"></script>
        
    </head>
    <body ondragstart="return false;" ondrop="return false;" >
          <script>
            $(document).ready(function(){
                     var oMain = new CMain({
												combo_value: 50,  //amount added to the score for each ball exploded in a combo
												extra_score: 100  //amount added to the score when level is completely cleared
											});

                     $(oMain).on("game_start", function(evt) {
                             //alert("game_start");
                     });

                     $(oMain).on("save_score", function(evt,iScore) {
                             //alert("iScore: "+iScore);
                     });

                     $(oMain).on("restart", function(evt) {
                             //alert("restart");
                     });
           });

        </script>
        < id="canvas" class='ani_hack' width="1024" height="768"> </canvas>

    </body>
</html>

JS和CSS、html,图片,整包代码右侧下载

思源源码基地https://www.rmb4.cn所有源码资源均聚合于互联网各大会员资源站,仅用于您下载学习,如需商用,请您支持正版! 转载请注明出处!
源码基地-站长之家-网站模板-网站源码-源码之家-html模板-网页模板-Wordpress主题-织梦模板 » 【html5】网页版qq龙珠游戏、祖玛游戏代码_模板免费下载

源码基地,源码之家,全网网站源码,APP源码,免费下载,采集规则免费教学!

立即赞助 发布资源