예제 #1
0
        public void Draw()
        {
            renderer.Begin();
            renderer.DrawTexture("title", Vector2.Zero);
            renderer.End();

            fog.Draw(Color.White, 0.3f);

            renderer.Begin();
            renderer.DrawTexture("titlelogo", new Vector2(150, 150), new Vector2(0.6f, 0.6f));
            renderer.DrawTexture("pressspace", new Vector2(580, 500), motion.DrawingRange());
            renderer.End();
        }
예제 #2
0
        public void Draw()
        {
            townEffect.WriteRenderTarget(Color.White);

            renderer.Begin();
            renderer.DrawTexture("town", Vector2.Zero);
            renderer.End();

            fog.Draw(Color.White, 0.2f);
            DrawUI();

            townEffect.ReleaseRenderTarget();
            townEffect.Draw();
        }
예제 #3
0
        public void Draw()
        {
            renderer.EffectManager.GetBloomEffect().WriteRendererTarget(renderer.FogManager.CurrentColor());

            map.Draw();
            mapItemManager.Draw();      //アイテムの描画

            characterManager.Draw();
            pManager.Draw();

            renderer.EffectManager.GetBloomEffect().ReleaseRenderTarget();
            renderer.EffectManager.GetBloomEffect().Draw(renderer);

            background.Draw(renderer.FogManager.CurrentColor());

            DrawUI();
        }