摘要:
``` cc.Class({ extends: cc.Component, properties: { prefab: { default:null, type:cc.Prefab }, root: { default:null, type:cc.Node } }, // use this for 阅读全文
posted @ 2016-04-29 17:10
yufenghou
阅读(182)
评论(0)
推荐(0)
摘要:
```
cc.Class({ extends: cc.Component, properties: { musicPlayer: { default: null, type: cc.AudioSource }, dingClip: { default: null... 阅读全文
posted @ 2016-04-29 15:26
yufenghou
阅读(141)
评论(0)
推荐(0)
摘要:
新建一个节点,添加audio source,然后再audio source上面添加代码,再把当前节点拖到cc.AudioSource组件上面。 阅读全文
posted @ 2016-04-29 15:25
yufenghou
阅读(107)
评论(0)
推荐(0)
摘要:
MonsterPrefab.js Populate.js 阅读全文
posted @ 2016-04-29 13:48
yufenghou
阅读(639)
评论(0)
推荐(0)
摘要:
x=x+v v=v+gr cc.Class({ extends: cc.Component, properties: { velocity:{ default:null }, grivatity:{ default:null }, }, // use this for initialization 阅读全文
posted @ 2016-04-29 13:18
yufenghou
阅读(132)
评论(0)
推荐(0)

浙公网安备 33010602011771号