Exemplo n.º 1
0
        public void LoadParticle()
        {
            //PARTICLE SYSTEM
            ParticleSystem Snow = new Snow(SkiingGameCoursework.Content.snow, new Vector2(0, 0), 800, 0, 0.1f, 5f, 200);

            SnowSh = Snow;
        }
Exemplo n.º 2
0
        public void LoadParticle()
        {
            //PARTICLE SYSTEM
            ParticleSystem Snow = new Snow(SkiingGameCoursework.Content.snow, new Vector2(0, 0), 800, 0, 0.1f, 5f, 200);

            SnowShower = Snow;

            //SNOW TRAILS
            //NOTE: LIFE TIME IS IN SECCCONDS
            ParticleSystem SnowTrailLeft = new SnowTrail(SkiingGameCoursework.Content.SnowTrail, new Vector2(363, 220), 0.001f, 5f, 1000);

            SnowTrailL = SnowTrailLeft;
            ParticleSystem SnowTrailRight = new SnowTrail(SkiingGameCoursework.Content.SnowTrail, new Vector2(380, 220), 0.001f, 5f, 1000);

            SnowTrailR = SnowTrailRight;
        }