当前位置:网站首页 > 游戏 >

android飞机游戏

来源:www.999sf.com | 编辑:999搜服 | 发布时间:2016-05-27 04:42

小编导读:

android飞机游戏

MySurfaceView.vcBulletBoss.add(new Bullet(MySurfaceView.bmpBossBullet, x+40, y+10, Bullet.BULLET_BOSS, Bullet.DIR_UP)); MySurfaceView.vcBulletBoss.add(new Bullet(MySurfaceView.bmpBossBullet, x+40, y+10, Bullet.BULLET_BOSS, Bullet.DIR_DOWN)); MySurfaceView.vcBulletBoss.add(new Bullet(MySurfaceView.bmpBossBullet, x+40, y+10, Bullet.BULLET_BOSS, Bullet.DIR_LEFT)); MySurfaceView.vcBulletBoss.add(new Bullet(MySurfaceView.bmpBossBullet, x+40, y+10, Bullet.BULLET_BOSS, Bullet.DIR_RIGHT)); MySurfaceView.vcBulletBoss.add(new Bullet(MySurfaceView.bmpBossBullet, x+40, y+10, Bullet.BULLET_BOSS, Bullet.DIR_UP_LEFT)); MySurfaceView.vcBulletBoss.add(new Bullet(MySurfaceView.bmpBossBullet, x+40, y+10, Bullet.BULLET_BOSS, Bullet.DIR_UP_RIGHT)); MySurfaceView.vcBulletBoss.add(new Bullet(MySurfaceView.bmpBossBullet, x+40, y+10, Bullet.BULLET_BOSS, Bullet.DIR_DOWN_LEFT)); MySurfaceView.vcBulletBoss.add(new Bullet(MySurfaceView.bmpBossBullet, x+40, y+10, Bullet.BULLET_BOSS, Bullet.DIR_DOWN_RIGHT)); public boolean isCollsionWith(Bullet bullet) { int x2 = bullet.bulletX; int y2 = bullet.bulletY; int w2 = bullet.bmpBullet.getWidth(); int h2 = bullet.bmpBullet.getHeight(); if (x >= x2 && x >= x2 + w2) { return false; } else if (x = y2 + h2) { return false; } else if (y

文章-android飞机游戏,是由http://999sf.com提供,转载请注明版权出处!

上一篇:英国游戏公司为一小伙做出3D打印手臂

下一篇:Charm:现金棋牌游戏平台【百家及时行乐】体育医院〖动态〗