ConvertToManagedInvisible

Introduction ManagedInvisible Sprites are Sprites which the SpriteManager performs every-frame updates on them (such as applying Velocity, Acceleration, and attachment logic). These Sprites are not drawn by the engine. For more information on managed invisible Sprites, see the AddManagedInvisibleSprite method. When to use ConvertToManagedInvisible The most common way of creating managed invisible Sprites is to[…]

AddSprite

Introduction The AddSprite function is one of the most common functions in FlatRedBall. The AddSprite function adds a Sprite instance to the SpriteManager. It can also create new Sprite instances depending on which overload is called. AddSprite Signatures public static Sprite AddSprite(string texture) public static Sprite AddSprite(AnimationChainList animationChainList) public static Sprite AddSprite(AnimationChain animationChain) public static[…]

IDrawableBatch

Introduction Although the feature set for FlatRedBall is rapidly expanding, it is impossible for the engine to handle every graphical possibility. DrawableBatches are a solution to this problem as they allow custom rendering in the engine. A DrawableBatch is a class that implements the IDrawableBatch interface, which allows user-specified rendering through XNA/MonoGame. For a full[…]

Layer

Introduction Layers provide a method of enforcing the order in which objects are drawn. This means that Layers can be used to override the default ordering of objects. In other words Layers can be used to make objects which are further from the Camera draw on top of objects which are closer to the Camera.[…]