public GreenFlower()
        {
            this.Effects.Add(new RandomMovement());
            
            ClearScreen clear = new ClearScreen();
            clear.ClearColor = new Color(0, 0, 0, 0.14f);
            this.Effects.Add(clear);

            Scope scope = new Scope();
            scope.Color = new Color(0, 1, 0.06f, 0.5f);
            scope.LineWidth = 5;
            scope.Circular = true;
            this.Effects.Add(scope);

            this.Effects.Add(new DiscMovement());

            BurstScope bscope = new BurstScope();
            bscope.Rays = 128;
            bscope.Mode = BurstScope.ColorMode.RayRandom;
            bscope.Sensitivity = 0.5f;
            bscope.MinRaySpeed = 0.1f;
            bscope.MaxRaySpeed = 0.15f;
            bscope.Wander = 5;
            bscope.Rotate = 0;
            this.Effects.Add(bscope);

            Mirror mirror = new Mirror();
            mirror.HorizontalMirror = Mirror.HorizontalMirrorType.RightToLeft;
            mirror.VerticalMirror = Mirror.VerticalMirrorType.BottomToTop;
            this.Effects.Add(mirror);
        }
예제 #2
0
        public Core()
        {
            TextureHandle bufferTexture = new TextureHandle();
            
            SingleBuffer buffer = new SingleBuffer();
            buffer.Load = true;
            buffer.Texture = bufferTexture;
            this.Effects.Add(buffer);
            
            ClearScreen clear = new ClearScreen();
            clear.ClearColor = new Color(0, 0, 0, 0.085f);
            this.Effects.Add(clear);

            this.Effects.Add(new RandomMovement());

            this.Effects.Add(new CustomScope());

            Scope scope = new Scope();
            scope.Color = new Color(1, 0.5f, 0, 1);
            scope.Circular = true;
            scope.LineWidth = 3;
            this.Effects.Add(scope);

            buffer = new SingleBuffer();
            buffer.Load = false;
            buffer.Texture = bufferTexture;
            this.Effects.Add(buffer);
            
            this.Effects.Add(new CircularMovement());
        }
        public SimpleScope()
        {
            ClearScreen clear = new ClearScreen();
            clear.ClearColor = new Color(0, 0, 0, 0.075f);

            Effects.Add(clear);

            Scope scope = new Scope();
            scope.Color = new Color(0.25f, 0.5f, 1, 1);
            scope.LineWidth = 3;

            Effects.Add(scope);
        }