Yao-class-cpp-studio / battle_game

MIT License
9 stars 86 forks source link

New obstacle #264

Open beyondwzk666 opened 1 year ago

beyondwzk666 commented 1 year ago

If the body touches this obstacle, the movement speed will slow down, the blood will decrease continuously until you leave it, and the obstacle will bounce bullets.

jk21lcl commented 1 year ago

感觉这个会存在自身矛盾,坦克可以走上obstacle,并且obstacle能反弹子弹,如果坦克在这个obstacle里面发子弹的话就会很奇怪

beyondwzk666 commented 1 year ago

那就规定坦克碰到此障碍后无法发射子弹

kx-zhang22 commented 1 year ago

在 #48 里面完成了类似的内容(swamp),不过设定的是子弹可以正常穿过它,可以在此基础上修改(: