reizonapps

Copter Classic Helicopter Game

Copter Classic Helicopter Game Android

Screenshots

Copter Classic Helicopter Game Android
Copter Classic Helicopter Game Android

Specification

How to Use

Sample Code

CopterMain.showAdmobBanner(); // Create a scene and set background color final Scene scene= new Scene(); scene.setBackground(new ColorBackground(0, 0, 0)); // the color value ranges from 0-1 // Set initial values gameStart= false; gameOver= false; exploded= false; state= 0; // Create Helicopter sprite and animate it. final AnimatedSprite copter= new AnimatedSprite(130, GameConstants.CAMERA_HEIGHT/2, CopterMain.copterRegion); copter.animate(80); // Create a particle system for smoke final PointParticleEmitter ppe = new PointParticleEmitter(0f, 0f); final ParticleSystem particleSystem = new ParticleSystem(ppe, 20, 20, 50, CopterMain.particleRegion){ protected void onManagedUpdate(float pSecondsElapsed){ // update position with helicopter ppe.setCenter(copter.getX()+ 2, copter.getY()+ copter.getHeight()/3.7f); super.onManagedUpdate(pSecondsElapsed); } };

Comments (0)

  • {{com.username}}
    {{com.username}}
    Buyer
    Seller

    {{com.username}}

    {{com.ctime}}

    {{com.content}}

    • {{com2.username}}
      {{com2.username}}
      Buyer
      Seller

      {{com2.username}}

      {{com2.ctime}}

      {{com2.content}}