IScalable

Introduction The IScalable interface provides an interface for 2D objects which can be resized. IScalable objects have two properties which control size: ScaleX ScaleY Note: By default, scale has nothing to do with the Texture that an object is displaying. Two objects showing different Textures of different dimensions will be the same size if they[…]

Sprite

Introduction The Sprite is a flat graphical object which is commonly used in 2D games as well as for particles, HUDs, and UIs in 3D games. The Sprite class inherits from the PositionedObject class. Tutorials Working with Sprites Sprite Scale For information on Scale, see the IScalable wiki entry. To match the on-screen pixel dimensions[…]