Ejemplo n.º 1
0
void init_aviator()
{
    // Réinitialisation de l'écran
    LCD_Init();
    LCD_Fill(BLUE);
    
    // Réinitialisation générale
    initTimer();    
    initMeteor();
    
    // Réinitialisation des variables de jeu
    vie = 5;
    score = 0;
    Difficulte = 1;
}
Ejemplo n.º 2
0
bool TestParticle::init()
{
	if(! CCLayer::init())
		return false;
	size = CCDirector::sharedDirector()->getWinSize();

	initSmoke();	
	initFirework();
	initFire();
	initSun();
	initGalaxy();
	initFlower();
	initFlower();
	initBigFlower();
	initRotFlower();
	initMeteor();
	initSpiral();
	initExplosion();
	initSnow();

	return true;
}