Code

FrbUi - Native UI Framework

Tagged:
FrbUi - Native UI Framework

Last Updated 10/2/13

Polygon Tessellation Class

Tagged:
Polygon Tessellation Class

If you need to draw filled polygons to the screen then this class is for you.

RenderTargetRenderer

Tagged:
RenderTargetRenderer

This class simplifies rendering any FlatRedBall object to a Texture2D (including complex Glue entities).

Quick code example:

bool renderMipMaps = true;
int width = 512;

Control Manager

Tagged:
Control Manager

If you are a fan of Model, View, and Control model then the Control Manager will handle part of the "Control" aspect for you.

Advanced Debugging Console

Tagged:
Advanced Debugging Console

This provides all the code needed to implement an interactive console to help debug your game. It includes:

* A FRB entity that provides an in-game way view console output and in commands

On Screen Text Log

Tagged:
On Screen Text Log

This is a basic text log that can be used to display text on screen in a FRB application. I used it to display the output from the lidgren log.

DynamicTileBatch

Tagged:
DynamicTileBatch

DynamicTileBatch is a system for efficient rendering of tens of thousands textured tiles. Each registered texture holds its own vertex buffer that it uses for rendering. The cost of switching a texture is mitigated by rendering all tiles that use the same texture at once. Only when all tiles are rendered with the first texture, the texture is switched and the system continues with the second batch, and so on.

The system doesn't utilize any custom classes for adding tiles, so there is no problem with excessive class creation and subsequent garbage collections that would hider the game's performance.

FlatRedBall Extensions

Tagged:
FlatRedBall Extensions

This is a simple, extension-method-based stab at allowing people to access RenderTarget2D objects at the Camera and Layer levels (for the purpose of, for example, post processing algorithms).

Basic Lighting - No shadows, Easy to use, Reach Profile

Tagged:
Basic Lighting - No shadows, Easy to use, Reach Profile

Basic Lighting in FRB
V 1.3
14-03-2012

A basic lightengine to be used with FRB XNA 4.0. Works under Reach Profile and on low-end systems.

Syndicate content