Archive

Posts Tagged ‘Height’

FlexNA Beta 1.2

Thu, January 24, 2013 Leave a comment

New version is available for download over on the FlexNA homepage.  Here are the details:

FlexNA Beta 1.2 Release Notes

– Added a FlipMode property to DrawableEntity2D class. You can specify this property to make objects be drawn flipped horizontally or vertically. This causes the drawable entity to take advantage of XNA’s SpriteEffects enumeration when drawing itself with FlexNA’s Renderer2D (which derives from XNA’s SpriteBatch).

– Extended functionality of the ScreenElement2D class. It now contains properties to set a background color, layout mode (Zoom, Stretch, etc.), and Width and Height. Use ScreenElement2D as the basis for your game or application’s GUI/HUD elements if you need to draw and update large numbers of elements in a list. ScreenElement2D objects are added to a control’s Sprites collection and hundreds of them can be drawn without severely impacting performance like a bunch of Control objects would. Control objects provide built-in input and event handling but this functionality comes at a cost to performance when trying to render many controls at once. The ScreenElement2D class is much more lightweight and simply contains built-in draw behavior, allowing you to provide custom and tailor-made input/event handling. This update simply extends the functionality of the ScreenElement2D class by making it easier to use it as a basis for list elements in your game or application’s UI.

Advertisements