public void loadCreatureSprites() {

        Image[] images = new Image[100];

        // load images
        images = new Image[] {
            loadImage("player1.png"),
            loadImage("player2.png"),
            loadImage("player3.png"),
            loadImage("player4.png"),
            loadImage("playerdeath1.png"),
            loadImage("playerdeath2.png"),
            loadImage("playerdeath3.png"),
            loadImage("playerdeath4.png"),
            loadImage("playerdeath5.png"),
            loadImage("shieldShip1.png"),
            loadImage("shieldShip2.png"),
            loadImage("shieldShip3.png"),
            loadImage("shieldShip4.png"),
            loadImage("redShip1.png"),
            loadImage("redShip2.png"),
            loadImage("redShip3.png"),
            loadImage("redShip4.png"),
            loadImage("redShipdead1.png"),
            loadImage("redShipdead2.png"),
            loadImage("redShipdead3.png"),
            loadImage("redShipdead4.png"),
            loadImage("redShipdead5.png"),
            loadImage("blueShip1.png"),
            loadImage("blueShip2.png"),
            loadImage("blueShip3.png"),
            loadImage("blueShip4.png"),
            loadImage("blueShipdeath1.png"),
            loadImage("blueShipdeath2.png"),
            loadImage("blueShipdeath3.png"),
            loadImage("blueShipdeath4.png"),
            loadImage("blueShipdeath5.png"),
            loadImage("littleShip1.png"),
            loadImage("littleShip2.png"),
            loadImage("littleShip3.png"),
            loadImage("littleShip4.png"),
            loadImage("littleShipdeath1.png"),
            loadImage("littleShipdeath2.png"),
            loadImage("littleShipdeath3.png"),
            loadImage("littleShipdeath4.png"),
            loadImage("littleShipdeath5.png"),
            loadImage("bossShip1.png"),
            loadImage("bossShipInjured1.png"),
            loadImage("bossShipInjured2.png"),
            loadImage("bossShipInjured3.png"),
            loadImage("bossShipDead1.png"),
            loadImage("bossShipDead2.png"),
            loadImage("bossShipDead3.png"),
            loadImage("bossShipDead4.png"),
            loadImage("bossShipDead5.png"),
            loadImage("bossShipDead6.png"),
            loadImage("missle1.png"),
            loadImage("missle2.png"),
            loadImage("missle3.png"),
            loadImage("missle4.png"),
            loadImage("bossMissle.png"),
            loadImage("bossMissle2.png"),
            loadImage("bossMissle3.png"),
            loadImage("bossMissle4.png"),
            loadImage("bossMissleBlue1.png"),
            loadImage("bossMissleBlue2.png"),
            loadImage("bossMissleBlue3.png"),
            loadImage("bossMissleBlue4.png"),
            loadImage("enemyLaser.png"),


        };
        
        // create creature animations
        Animation[] playerAnim = new Animation[3];
        Animation[] redAnim = new Animation[2];
        Animation[] blueAnim = new Animation[2];
        Animation[] littleShipAnim = new Animation[2];
        Animation[] bossAnim = new Animation[3];
        Animation[] missleAnim = new Animation[2];
        Animation[] bossMissleRedAnim = new Animation[2];
        Animation[] bossMissleBlueAnim = new Animation[2];
        Animation[] enemyLaserAnim = new Animation[2];
        
        int i = 0;
        /*
        for (int i=0; i<4; i++) {
            playerAnim[i] = createPlayerAnim(
                images[0], images[1], images[2], images[3]);
            redAnim[i] = createredAnim(
                images[4], images[5], images[6]);
            blueAnim[i] = createblueAnim(
                images[7], images[8], images[9]);
            greenAnim[i] = creategreenAnim(
                    images[6], images[7]);
            bossAnim[i] = createbossAnim(
                    images[6], images[7]);
            asteroidAnim[i] = createasteroidAnim(
                    images[6], images[7]);
        }
        */
        playerAnim[0] = createPlayerAnim(images[i++], images[i++], images[i++], images[i++]);
        
        playerAnim[1] = createShipDeathAnim(images[i++], images[i++], images[i++], images[i++], images[i++]);
        
        playerAnim[2] = createPlayerAnim(images[i++], 
        		images[i++], images[i++], images[i++]);
        
        redAnim[0] = createShipAnim(images[i++], images[i++], images[i++], images[i++]);
        
        redAnim[1] =  createShipDeathAnim(images[i++], images[i++], 
        		images[i++], images[i++], images[i++]);
        
        blueAnim[0] = createShipAnim(images[i++], images[i++], images[i++], images[i++]);
        
        blueAnim[1] = createShipDeathAnim(images[i++], images[i++], 
        		images[i++], images[i++], images[i++]);
        
        littleShipAnim[0] = createShipAnim(images[i++], images[i++], images[i++], images[i++]);
        
        littleShipAnim[1] = createShipDeathAnim(images[i++], images[i++], 
        		images[i++], images[i++], images[i++]);
        
        bossAnim[0] = createbossAnim(images[i++]);
                
        bossAnim[2] = createBossHitAnim(images[i++], images[i++], images[i++]);
        
        bossAnim[1] = createBossDeathAnim(images[i++], images[i++], images[i++], 
        		images[i++], images[i++], images[i++]);
        		
        missleAnim[0] = createmissleAnim(images[i++], images[i++], images[i++], images[i++]);
                
        missleAnim[1] = createmissleAnim(loadImage("nothing.jpg"), 
             	loadImage("nothing.jpg"), loadImage("nothing.jpg"),loadImage("nothing.jpg"));
        
        bossMissleRedAnim[0] = createmissleAnim(images[i++], images[i++], images[i++], images[i++]);
        
        bossMissleRedAnim[1] = createmissleAnim(loadImage("nothing.jpg"), 
             	loadImage("nothing.jpg"), loadImage("nothing.jpg"),loadImage("nothing.jpg"));
        
        bossMissleBlueAnim[0] = createmissleAnim(images[i++], images[i++], images[i++], images[i++]);
        
        bossMissleBlueAnim[1] = createmissleAnim(loadImage("nothing.jpg"), 
             	loadImage("nothing.jpg"), loadImage("nothing.jpg"),loadImage("nothing.jpg"));
        
        enemyLaserAnim[0] = createbossAnim(loadImage("enemyLaser.png"));
        
        enemyLaserAnim[1] = createmissleAnim(loadImage("nothing.jpg"), 
             	loadImage("nothing.jpg"), loadImage("nothing.jpg"),loadImage("nothing.jpg"));
        
        // create creature sprites
        playerSprite = new Player(playerAnim[0],
            playerAnim[1], playerAnim[2]);
        redSprite = new RedShip(redAnim[0],
            redAnim[1]);
        blueSprite = new BlueShip(blueAnim[0],
            blueAnim[1]);
        littleShipSprite = new LittleShip(littleShipAnim[0],
        	littleShipAnim[1]);
        bossSprite = new BossShip(bossAnim[0], bossAnim[1], bossAnim[2]);
        missleSprite = new Projectile(missleAnim[0], missleAnim[1]);
        laserSprite = new SmallLaser(enemyLaserAnim[0], enemyLaserAnim[1]);
        bossMissleSpriteRed = new BossMissleRed(bossMissleRedAnim[0], bossMissleRedAnim[1]);
        bossMissleSpriteBlue = new BossMissleBlue(bossMissleBlueAnim[0], bossMissleBlueAnim[1]);

    }