当前位置: 首页>>代码示例>>C#>>正文


C# PloobsEngine.RenderTextComplete方法代码示例

本文整理汇总了C#中PloobsEngine.RenderTextComplete方法的典型用法代码示例。如果您正苦于以下问题:C# PloobsEngine.RenderTextComplete方法的具体用法?C# PloobsEngine.RenderTextComplete怎么用?C# PloobsEngine.RenderTextComplete使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在PloobsEngine的用法示例。


在下文中一共展示了PloobsEngine.RenderTextComplete方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Draw

        protected override void Draw(GameTime gameTime, PloobsEngine.SceneControl.RenderHelper render)
        {
            base.Draw(gameTime, render);

            border.Draw(render, this.World.Camera2D);

            render.RenderTextComplete("Objects rendered: " + World.Culler.RenderedObjectThisFrame, new Vector2(10, 10), Color.White, Matrix.Identity);

        }
开发者ID:brunoduartec,项目名称:port-ploobsengine,代码行数:9,代码来源:Basic2DNeoforce.cs

示例2: Draw

 protected override void Draw(GameTime gameTime, PloobsEngine.SceneControl.RenderHelper render)
 {
     base.Draw(gameTime, render);
     render.RenderTextComplete("PloobsEngine 2D Sprite Sample", new Vector2(20, 10), Color.Red, Matrix.Identity);
     render.RenderTextComplete("Double tap to change the animation", new Vector2(20, 30), Color.Red, Matrix.Identity);
 }        
开发者ID:brunoduartec,项目名称:port-ploobsengine,代码行数:6,代码来源:Basic2DSpriteScreen.cs

示例3: Draw

        protected override void Draw(GameTime gameTime, PloobsEngine.SceneControl.RenderHelper render)
        {
            base.Draw(gameTime, render);
            render.RenderTextComplete("PloobsEngine 2D Sample on Windows Phone7", new Vector2(20, 10), Color.Red, Matrix.Identity);

        }
开发者ID:brunoduartec,项目名称:port-ploobsengine,代码行数:6,代码来源:Primitive2D.cs

示例4: Draw

        protected override void Draw(GameTime gameTime, PloobsEngine.SceneControl.RenderHelper render)
        {
            base.Draw(gameTime, render);

            ///to draw some text =P
            render.RenderTextComplete("PloobsEngine 2D Basic Objects Sample", new Vector2(20, 10), Color.Red, Matrix.Identity);
            render.RenderTextComplete("Use tap gesture to create a Goo", new Vector2(20, 30), Color.Red, Matrix.Identity);            
            
        }        
开发者ID:brunoduartec,项目名称:port-ploobsengine,代码行数:9,代码来源:Basic2DPositioningScreen.cs

示例5: Draw

        protected override void Draw(GameTime gameTime, PloobsEngine.SceneControl.RenderHelper render)
        {
            base.Draw(gameTime, render);

            ///to draw some text =P
            render.RenderTextComplete("PloobsEngine 2D Camera Sample", new Vector2(20, 10), Color.Red, Matrix.Identity);
            render.RenderTextComplete("Directionals to move the camera, Page up/down for zoom", new Vector2(20, 30), Color.Red, Matrix.Identity);
            render.RenderTextComplete("Space to enable/disable Tracking", new Vector2(20, 50), Color.Red, Matrix.Identity);           
            
        }        
开发者ID:brunoduartec,项目名称:port-ploobsengine,代码行数:10,代码来源:Basic2DCameraScreen.cs

示例6: Draw

        protected override void Draw(GameTime gameTime, PloobsEngine.SceneControl.RenderHelper render)
        {
            base.Draw(gameTime, render);

            ///to draw some text =P
            render.RenderTextComplete("PloobsEngine 2D Basic Objects Sample", new Vector2(20, 10), Color.Red, Matrix.Identity);
            render.RenderTextComplete("Goo Object position: " + goo.PhysicObject.Position, new Vector2(20, 30), Color.Red, Matrix.Identity);
            
        }        
开发者ID:brunoduartec,项目名称:port-ploobsengine,代码行数:9,代码来源:Basic2DPositioningScreen.cs

示例7: Draw

 protected override void Draw(GameTime gameTime, PloobsEngine.SceneControl.RenderHelper render)
 {
     base.Draw(gameTime, render);
     render.RenderTextComplete("PloobsEngine 2D Angry Birds Physic Clone Sample", new Vector2(20, 10), Color.Red, Matrix.Identity);
     render.RenderTextComplete("Hold gesture near the ball to fire", new Vector2(20, 30), Color.Red, Matrix.Identity);
     if(result != null)
         render.RenderTextComplete(result, new Vector2(20, 60), Color.Red, Matrix.CreateScale(2));            
 }
开发者ID:brunoduartec,项目名称:port-ploobsengine,代码行数:8,代码来源:Basic2DPhysicScreen.cs

示例8: Draw

        protected override void Draw(GameTime gameTime, PloobsEngine.SceneControl.RenderHelper render)
        {
            base.Draw(gameTime, render);

            border.Draw(render, this.World.Camera2D);

            render.RenderTextComplete("PloobsEngine 2D Particle Demos", new Vector2(20, 20), Color.Red, Matrix.Identity);

        }
开发者ID:brunoduartec,项目名称:port-ploobsengine,代码行数:9,代码来源:Basic2DParticle.cs

示例9: Draw

 protected override void Draw(GameTime gameTime, PloobsEngine.SceneControl.RenderHelper render)
 {
     base.Draw(gameTime, render);
     render.RenderTextComplete("PloobsEngine 2D Physic Sample", new Vector2(20, 10), Color.Red, Matrix.Identity);
     render.RenderTextComplete("Hold the left mouse bottom near the ball to fire", new Vector2(20, 30), Color.Red, Matrix.Identity);
 }   
开发者ID:brunoduartec,项目名称:port-ploobsengine,代码行数:6,代码来源:Basic2DPhysicScreen.cs


注:本文中的PloobsEngine.RenderTextComplete方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。