一、config.json
窗口的配置文件,想设置模拟器的大小就在这里设置。路径:D:\project\demo(我的cocos2d-lua项目的名字为:demo)
{ "init_cfg":{ "isLandscape": false, //是否横屏,false:竖屏,true:横屏 "isWindowTop": false, //窗口置顶配置, false:不置顶,true:置顶 "name": "demo", //工程名字,窗口标题 "width": 540, //窗口宽 "height": 960, //窗口高 "entry": "src/main.lua", //启动入口 "consolePort": 6050, //控制台端口 "uploadPort": 6060 //接收IDE上传文件的端口 }, "simulator_screen_size": [ //模拟器屏幕分辨率的大小,只在桌面系统下生效 { "title": "iPhone 3Gs (480x320)", "width": 480, "height": 320 }, { "title": "iPhone 4 (960x640)", "width": 960, "height": 640 }, { "title": "iPhone 5 (1136x640)", "width": 1136, "height": 640 }, { "title": "iPad (1024x768)", "width": 1024, "height": 768 }, { "title": "iPad Retina (2048x1536)", "widt