Reputation
Top tag
Next privilege 5 Rep.
Participate in meta
Badges
1
Impact
~1k people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Jan
31
awarded  Popular Question
Jul
11
comment How to fire a bullet in a specific direction?
private void fireBullet(){ float plusX = 16; float plusY = plusX * mPlayer.getRotationValue(); Bullet mBullet = new Bullet(mPlayer.getX()-plusX, mPlayer.getY()+plusY, 8, 8, this.mGameController.mBulletTextureRegion, this.mPhysicsWorld, mPlayer); mBulletList.add(mBullet); //System.out.println("size is :" + bulletList.size()); mScene.getTopLayer().addEntity(mBullet.getSprite()); mSoundManager.playGunShot(); } What is defect here?? it does not fire bullet from ship's nose?? What can be done..??
Jul
11
comment How to fire a bullet in a specific direction?
how to find the ship's nose position value.??
Jul
9
asked How to fire a bullet in a specific direction?