Initial commit

This commit is contained in:
lili 2021-10-19 15:57:59 +08:00
parent 9701dec54b
commit f2e7afeae2
1 changed files with 7 additions and 7 deletions

View File

@ -14,13 +14,13 @@ edit编辑->preferences参数里面可以设置语言
新建一张地图
![](http://www.write-bug.com/myres/static/uploads/2021/10/19/2073ffdc213720b23fdd99290f63fcbc.writebug)
![](http://www.writebug.com/myres/static/uploads/2021/10/19/2073ffdc213720b23fdd99290f63fcbc.writebug)
建立三个图层和一个对象层并将资源图块导入 (最下面的图层将显示在最下面)
![](http://www.write-bug.com/myres/static/uploads/2021/10/19/f5cc925b462d0622db924349b378fb99.writebug)
![](http://www.writebug.com/myres/static/uploads/2021/10/19/f5cc925b462d0622db924349b378fb99.writebug)
![](http://www.write-bug.com/myres/static/uploads/2021/10/19/55707c0c968f1f06b20b473314bf33dc.writebug)
![](http://www.writebug.com/myres/static/uploads/2021/10/19/55707c0c968f1f06b20b473314bf33dc.writebug)
- ground层用ground图块填充满按住鼠标左键
@ -30,15 +30,15 @@ edit编辑->preferences参数里面可以设置语言
最终效果如下图
![](http://www.write-bug.com/myres/static/uploads/2021/10/19/d4e26d89a72cbe0c785018bade67c210.writebug)
![](http://www.writebug.com/myres/static/uploads/2021/10/19/d4e26d89a72cbe0c785018bade67c210.writebug)
选择players对象层在如图位置插入两个图块对象并更改名称如图
![](http://www.write-bug.com/myres/static/uploads/2021/10/19/1e89caef94d4a7cba70956c96935276d.writebug)
![](http://www.writebug.com/myres/static/uploads/2021/10/19/1e89caef94d4a7cba70956c96935276d.writebug)
给星星添加一个属性
![](http://www.write-bug.com/myres/static/uploads/2021/10/19/57260a623ccf76401d35b45764a30d62.writebug)
![](http://www.writebug.com/myres/static/uploads/2021/10/19/57260a623ccf76401d35b45764a30d62.writebug)
保存为tmx文件和图片文件放在一起
@ -168,7 +168,7 @@ cc.Class({
最终如下图:
![](http://www.write-bug.com/myres/static/uploads/2021/10/19/4c8af8d19a8981d167d1f9ae5365a399.writebug)
![](http://www.writebug.com/myres/static/uploads/2021/10/19/4c8af8d19a8981d167d1f9ae5365a399.writebug)
# 3. 总结