【LostRoutes项目日志——在main.js中添加多分辨率适配】教程文章相关的互联网学习教程文章

LostRoutes项目日志——在main.js中添加多分辨率适配【代码】【图】

初始的Cocos2d-JS项目中的main.js代码的内容为:/*** A brief explanation for "project.json":* Here is the content of project.json file, this is the global configuration for your game, you can modify it to customize some behavior.* The detail of each field is under it.{"project_type": "javascript",// "project_type" indicate the program language of your project, you can ignore this field"debugMode" ...