毕业论文

打赏
当前位置: 毕业论文 > 计算机论文 >

Flash射击游戏设计+需求分析(14)

时间:2016-11-27 21:38来源:毕业论文
if (N == 5) { if (this._x500) { this._x -= guaiwu_xmove; } if (guaiwu_movetime=150 || guaiwu.guaiwu_hp5) { this._x -= guaiwu_xmove; this._y -= guaiwu_ymove/2; } } 如果需要怪物从右边偏下方飞


        if (N == 5) {
            if (this._x>500) {
                this._x -= guaiwu_xmove;
            }
            if (guaiwu_movetime>=150 || guaiwu.guaiwu_hp<5) {
                this._x -= guaiwu_xmove;
                this._y -= guaiwu_ymove/2;
            }
        }
如果需要怪物从右边偏下方飞进,从左下方飞出,并且设定它的代号为6,即N==6那么我的代码是这么写的:                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Flash射击游戏设计+需求分析(14):http://www.751com.cn/jisuanji/lunwen_464.html
------分隔线----------------------------
推荐内容