cocos / cocos-docs Goto Github PK
View Code? Open in Web Editor NEWManual docs content for Cocos Creator
Home Page: https://docs.cocos.com
Manual docs content for Cocos Creator
Home Page: https://docs.cocos.com
URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/publish/debug-native.md
Cocos Creator V1.7版本, 现在路径下好像并没有src/project.dev.js文件, 只有src/jsb_polyfill.js了.
URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/scripting/modular-script.md
为什么照着这样才做不行的。var Rotate = require("Rotate");console.log(Rotate.properties);打印出来的是undefined.
URL : https://github.com/cocos-creator/creator-docs/blob/master/en/getting-started/hello-world.md
I'm sorry to say that I have a terrible user experience when I read your document on web, which is everytime when I want to zoom the window, the content inside the window turn to the very beginning of the article automatically.
URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/components/webview.md
可否给出解决跨域问题的简单例子,
因为没有理解到parent.cc.TestCode();
为什么需要请求localhost。
URL : https://github.com/cocos-creator/creator-docs/blob/gitbook/zh/scripting/access-node-component.md
利用属性检查器设置节点 和 利用属性检查器设置组件 的代码完全一样, 怎么区别是设置节点还是组件
A line of code in the English documentation on the page "Extension Workflow" seems to not work:
fs.mkdirSync(Path.join(Editor.projectPath, 'myNewFolder'));
I think the following line does what is intended:
fs.mkdirSync(path.join(Editor.argv.path, 'myNewFolder'));
This is under the section "Did jobs in entry point" on the page:
creator-docs/source/en/extension/extension-workflow.md
URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/getting-started/quick-start.md
在star.js文件中需要加一句:
// 暂存 Game 对象的引用 game: { default: null, serializable: false }
在文档中没有写出来,导致在照着教程写的时候,一直失败
URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/scripting/life-cycle-callbacks.md
目前提供给用户的【声明】周期回调函数主要有
仓库 : https://github.com/knoxHuang/cocos-package
父任务 : #4548
URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/getting-started/coding-setup.md
按照文章内方法无法实现自动补全,VSCode版本为1.19.2
URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/scripting/load-assets.md
这里的 image/image, prefab, anim, font 都是常见的 Asset,而 image, audio 则是常见的 Raw Asset。
是不是应该是Particle,audio ?
URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/advanced-topics/oc-reflection.md
只有js调用oc的介绍,没有oc调用js的介绍
URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/advanced-topics/assets-manager.md
上面说能不能不重启,答案是对!下面又说必须重启,那么到底能不能不重启呢????这文档太不认真了吧?
URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/publish/debug-native.md
i see the documents,and set it,but it does not work,launcher.json as following
//---------------------begin------------------
"version": "0.2.0",
"configurations": [
{
"name": "Cocos-Debug",
"type": "cocos",
"request": "attach",
"port": 5086,
"address": "localhost",
"cwd": "${workspaceRoot}"
}
]
//----------------------end---------------------
but it show error:
ar: attachRequest: address: localhost port: 5086
ar: attachRequest: connected
ar: _termiated: cocos firefox protocol error: received error packet: invalid length: HTTP/1.0 400 Bad Request
Content-Type
ar: _termiated: socket end
ar: _termiated: cocos firefox protocol close
cc.eventManager.addListener(...)
成功了。原谅我新手,练习键盘输入的时候发现三种,结果如上。
还有就是 API
直接一脸懵。
版本:1.8.1
URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/asset-workflow/atlas.md
“在项目原型阶段或生产初期,美术资源的内容和结构变化都会比较频繁,我们通常会直接使用碎图(也就是多个单独的图片)来搭建场景和制作 UI。在之后为了优化性能和节约包体,需要将碎图合并成图集,或者将图集中的内容进行拆分或合并”
确实有这个需求,请问最新的官方推荐的碎图转图集的工作流应该是怎么样的?谢谢!
似乎中文链接要进行转义才行
URL : https://github.com/cocos-creator/creator-docs/blob/master/en/asset-workflow/import-export.md
All page in Chinese, not in English, but URL for English version of documentation.
URL : https://github.com/cocos-creator/creator-docs/blob/master/en/extension/extends-inspector.md
It's seem does not work, i do exactly as guide but nothing happen. All attributes always do not appear in property panel whatever i do in inspector.js file
en/animation/scripting-animation.md
This document page refers to method: getComopnent .. but shouldn't it be: getComponent ?
en/animation/animation-event.md
There's something missing at the end. Current document says: "you can click ??or ??near Params" .. I think those double question marks should say the name of the button or something like that.
en/components/animation.md
At the bottom of the document: "aboutAnimation" -> "about Animation"
en/animation/index.md
"Scriting Animations" -> "Scripting Animations"
en/getting-started/basics/preview-build.md
This is my 0,02$ , but I think screenshots should be from english version of the creator. This is beginners guide to application after all :)
I'm making some changes and will be sending PR but gitbook seems to be suffered from very slow build time even though the first time I already successfully built it, make a little changes, then gitbook just decides to rebuild entire thing! Take me around info: >> generation finished with success in 704.3s !
=> ~11 minutes to be able to preview as well as seeing the changes.
Related issue on gitbook.
I knew this issue is from gitbook, but in any way can we find alternative solutions or fixes for this? I think this will impact contributors making them less encouraged to help make document better.
URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/getting-started/quick-start.md
为什么window10下面安装后没有添加用户组件这个选项
URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/asset-workflow/atlas.md
「开发者->在当前场景使用指定图集替换 spriteFrame...」目前已经没有这一选项了
For example, click Have Feedback
on this site, nothing happened
http://www.cocos2d-x.org/docs/creator/en/getting-started/introduction.html
cocos2d-x.org
and cocos.com
both have the same problem.
URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/getting-started/coding-setup.md
按照官方指导,配置了vs code,发现在vs code中编辑代码 不能调用js中的api(即补全失效) ---windows系统;
测试mac系统下没有问题
URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/components/mask.md
Mask API 页面 404
URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/components/mask.md
cocos creator 的mask拖了背景图片,大小设置了,透明度也设置了不为0,但没出现
URL : https://github.com/cocos-creator/creator-docs/blob/gitbook/en/getting-started/quick-start.md
There is no way to add script component to Properties in the cocosCreator version 1.6.2 and 1.7.0,it works in 1.3.3.
How can I add scripts in it? Could you provide 1.3.3 download link for mac?
URL : https://github.com/cocos-creator/creator-docs/blob/gitbook/en/scripting/action-list.md
The api description links which redirect to the fireball-x.com website just send me to an ad serve site.
URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/components/tiledmap.md
#瓦片图的脚本接口请参考TiledMap API。
链接无效
URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/getting-started/quick-start.md
添加键盘事件仍然使用cc.eventManager吗?确定这是最新的文档?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.