注册 登录 充值会员 退出
网站、APP、小程序等定制开发,联系QQ 1206995177 毕业设计 java源码 PHP源码

充值

html5叠房子消消乐小游戏代码

作者/代码整理:  (源码已亲测,不会安装的可以向QQ1915635791要安装视频教程) 发布日期:2022-09-14
html5叠房子消消乐小游戏代码
html5叠房子消消乐小游戏代码是一款非常好玩的html5叠房子游戏源码,点击颜色相同的邻接区域,可以将这些区域合成到一处进行消除升级。


js代码

    <script>
        // The game configuration
        var qici = {};
        qici.config = {
            projectName: 'Subara',
            gameName: '消消乐',
            companyName: 'qcplay',
            bundleIdentifier: 'com.qcplay',
            gameInstance: 'qc_game',
            frameRate: {"mobile":40,"desktop":60},
            backgroundColor: 4210752,
            runInBackground: true,
            antialias: true,
            transparent: false,
            developerMode: false,
            renderer: 'Canvas',
            resolution : Math.min(2, devicePixelRatio),
            loadingPrefab: '',
            scene: {
                
            "SubaraCity" : "Assets/state/SubaraCity.bin"
            },
            entryScene : 'SubaraCity',
            dirtyRectangles: true,
            loading: {
                loadingText: 'Loading, please wait...',
                loadingInterval: 200,
                brightingInterval: 10,
                blinkingCount: 5,
                blinkingInterval: 70,
                fadingInInterval: 400,
                fadingOutInterval: 600
            }
        };

 		_pluginVariables_={}

        qici.scripts = [
            './Assets/meta/globalUrlMap.js',
            './xiaoxiaole/phaser.min.js',
            './xiaoxiaole/webfontloader.js',
            './xiaoxiaole/qc-core.js',
            './xiaoxiaole/qc-webgl.js',
            // External scripts for plugins

            // User scripts
            './js/game-scripts-mini-1.0.js'
        ];

		// Asset count that need preload in boot
		qici.loadingAssetCount = 11;
    </script>
    <script src='./xiaoxiaole/qc-loading.js'></script>