Exemplo n.º 1
0
        private void GameMain_Load(object sender, EventArgs e)
        {
            Pic_blood.Hide(); Pic_Broken.Hide();
            Pic_smokeLeft.Hide(); Pic_smokeRight.Hide();
            Pic_GunSpin.Hide(); Gun_PointAway.Hide();
            timer_bullet.Stop(); timer_gun.Start();
            Pic_bulletLeft.Hide();

            GameSound music = new GameSound();

            music.background_music();
        }
Exemplo n.º 2
0
 private void timer_bullet_Tick(object sender, EventArgs e) //Bullet shoot to the left
 {
     Pic_bulletLeft.Show();
     x_Bullet -= 10;
     Pic_bulletLeft.Location = new Point(x_Bullet, y_Bullet);
 }