QQ小游戏打包


QQ小游戏打包

  1. 用creator的微信小游戏打包程序

  2. 修改 project.config.json

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"projectid": "xxxxxx_AAA",
"description": "项目配置文件。",
"setting": {
"urlCheck": true,
"es6": false,
"postcss": true,
"minified": false,
"newFeature": false,
"remoteDebugLogEnable": false,
"sourcemapDisabled": true,
"nodeModules": true,
"autoAudits": true,
"uglifyFileName": true
},
"compileType": "game",
"createTime": 1560904756141,
"accessTime": 1560904756141,
"packOptions": {
"ignore": []
},
"debugOptions": {
"hidedInDevtools": []
},
"projectname": "AAA",
"qqappid": "xxxxxxxx",
"scripts": {
"beforeCompile": "",
"beforePreview": "",
"beforeUpload": ""
},
"condition": {
"search": {
"current": -1,
"list": []
},
"conversation": {
"current": -1,
"list": []
},
"game": {
"currentL": -1,
"list": [],
"current": -1
},
"miniprogram": {
"current": -1,
"list": []
}
}
}
  1. 打开“QQ小程序开发者工具”

选择creator打包生成的目录,输入appid,打开游戏

  • 点“预览”报“应用类型不匹配”错误

需要登录 https://q.qq.com/ 后台添加“服务类目”

1
设置-服务类目-修改-选择并上传资质文件(游戏>动作类)