merge form ckcz

This commit is contained in:
echo 2017-12-17 22:37:21 +08:00
parent e4d176c8c4
commit a7e7100032
2 changed files with 1 additions and 8 deletions

View File

@ -3,7 +3,6 @@
## 简介 ## 简介
HTML5 canvas制作的魔塔样板支持全平台游戏 HTML5 canvas制作的魔塔样板支持全平台游戏
**即使完全不会编程的用户,按照模板和说明文档也能很快做出一个魔塔游戏!** **即使完全不会编程的用户,按照模板和说明文档也能很快做出一个魔塔游戏!**
* [Demo / 样板效果](http://ckcz123.com/games/template/) * [Demo / 样板效果](http://ckcz123.com/games/template/)

View File

@ -78,18 +78,12 @@ maps.prototype.getBlock = function (x, y, id) {
if (id == 12) tmp.event = {'cls': 'animates', 'id': 'poisonNet', 'noPass': false, 'trigger': 'passNet'}; // 毒网 if (id == 12) tmp.event = {'cls': 'animates', 'id': 'poisonNet', 'noPass': false, 'trigger': 'passNet'}; // 毒网
if (id == 13) tmp.event = {'cls': 'animates', 'id': 'weakNet', 'noPass': false, 'trigger': 'passNet'}; // 衰网 if (id == 13) tmp.event = {'cls': 'animates', 'id': 'weakNet', 'noPass': false, 'trigger': 'passNet'}; // 衰网
if (id == 14) tmp.event = {'cls': 'animates', 'id': 'curseNet', 'noPass': false, 'trigger': 'passNet'}; // 咒网 if (id == 14) tmp.event = {'cls': 'animates', 'id': 'curseNet', 'noPass': false, 'trigger': 'passNet'}; // 咒网
<<<<<<< HEAD
<<<<<<< HEAD
=======
=======
if (id == 15) tmp.event = {'cls': 'animates', 'id': 'water', 'noPass': true}; // 水 if (id == 15) tmp.event = {'cls': 'animates', 'id': 'water', 'noPass': true}; // 水
>>>>>>> a6b50c17abdc856681917e5d3216f29aa9d8f9e1
// autotile: 20 // autotile: 20
if (id == 20) tmp.event = {'cls': 'autotile', 'id': 'autotile', 'noPass': true}; // autotile if (id == 20) tmp.event = {'cls': 'autotile', 'id': 'autotile', 'noPass': true}; // autotile
>>>>>>> 0de35b6258ac07977783fbb03f6a2d491faf4cf1
// 21-80 物品 // 21-80 物品
if (id == 21) tmp.event = {'cls': 'items', 'id': 'yellowKey'}; // 黄钥匙 if (id == 21) tmp.event = {'cls': 'items', 'id': 'yellowKey'}; // 黄钥匙
if (id == 22) tmp.event = {'cls': 'items', 'id': 'blueKey'}; // 蓝钥匙 if (id == 22) tmp.event = {'cls': 'items', 'id': 'blueKey'}; // 蓝钥匙