コード例 #1
0
        public InstructionScene()
        {
            // screen size
            this.w = Game1.graphics.GraphicsDevice.Viewport.Width;
            this.h = Game1.graphics.GraphicsDevice.Viewport.Height;

            // general values
            this.page_no = 0;
            this.page_scale = Vector2.One;
            this.page_angle = 0.0f;
            this.page_alpha = 1.0f;

            // animating
            this.overshotleft = false;
            this.sliding = false;
            this.slidingleft = false;
            this.slidingright = false;

            // page position
            this.page_offset = 0.0f;
            this.buffer_time = -1;

            testing = new Feedback(0);
            testing.Reset2((int)EffectType.PERFECT);

            Hand_Reset();
        }
コード例 #2
0
 // init feedback
 public void InitFeedback()
 {
     FB_effects = new Feedback(0);
 }