public Bakemono() : base() { EntityReimu p = new EntityReimu(); this.AddPlayer(p); for (int i = 0; i < 50; i++) { Mayoi enemy = new Mayoi(); enemy.SetPosition(new SSPosition(this.windowSize.Width / 2 + (i % 20) * 10, 0)); enemy.SetType(0); enemy.SetPopCount(i * 20 + 20); this.AddEnemy(enemy); } for (int i = 0; i < 150; i++) { Mayoi enemy = new Mayoi(); enemy.SetPosition(new SSPosition(this.windowSize.Width / 2 + (i % 20) * 10, 0)); enemy.SetType(0); enemy.SetPopCount(i * 50 + 20 + 50 * 20); this.AddEnemy(enemy); } for (int i = 0; i < 200; i++) { Tsubasa t = new Tsubasa(); t.SetPosition(new SSPosition(20 + (i % 20) * 10, 10)); t.SetPopCount(i * 30); this.AddEnemy(t); } for (int i = 0; i < 200; i++) { Tsukihi t = new Tsukihi(); t.SetPosition(new SSPosition(this.windowSize.Width / 2 + (i % 20) * 30, 10)); t.SetPopCount(50 * 20 + 20 + 30 * 20 + i * 30); this.AddEnemy(t); } SSTaskFactory.BackGroundImageTask.Mode = BackGroundImageTask.BackGroundMode.Movie; SSTaskFactory.BackGroundImageTask.MovieName = "bakemono.avi"; SSTaskFactory.BackGroundImageTask.MovieExtend = 1; SSTaskFactory.BackGroundImageTask.BannarName = "bakemono_bannar.png"; }
public FairyDance() : base() { EntityReimu p = new EntityReimu(); this.AddPlayer(p); for (int i = 0; i < 80; i++) { EnemyRedFairy enemy = new EnemyRedFairy(); enemy.SetPosition(new SSPosition((int)Math.Round(Math.Abs(Math.Sin(i) * (this.windowSize.Width - 400))) + 200, 1)); enemy.MovingType = 2; enemy.ActionType = 3; enemy.SetPopCount(i * 30 + 20); this.AddEnemy(enemy); } for (int i = 0; i < 50; i++) { EnemyRedFairy enemy = new EnemyRedFairy(); enemy.SetPosition(new SSPosition((int)Math.Round(Math.Abs(Math.Cos(i) * (this.windowSize.Width - 400))) + 200, 1)); enemy.MovingType = 3; enemy.ActionType = 3; enemy.SetPopCount(i * 20 + 20 + 20 * 50); this.AddEnemy(enemy); }/* for (int i = 0; i < 30; i++) { EnemyBlueFairy enemy = new EnemyBlueFairy(); enemy.SetPosition(new SSPosition(1, 1)); enemy.MovingType = 0; enemy.ActionType = 0; enemy.SetPopCount(i * 40 + 20); this.AddEnemy(enemy); } */ this.AddBoss(new BossRumia()); SSTaskFactory.BackGroundImageTask.ImageHandle = TextureLoader.GetInstance().Textures["back_3.jpg"]; SSTaskFactory.BackGroundImageTask.ScrollSpeed = 2; SSTaskFactory.BackGroundImageTask.ImageY = 768; this.soundName = "ready.mp3"; }