Neoforce:Tutorials:Creating a simple project

Creating a new project Once you have installed Neoforce Controls, the next step is to create an empty XNA project. Of course, Neoforce does not require FlatRedBall, but we will be using FlatRedBall in this tutorial. For more information on how to get FlatRedBall set up, check out the FlatRedBall Tutorials. To create a new[…]

14. Cleaning Up

Introduction If you’ve made it this far through the RockBlaster tutorials, congratulations! We’ve covered a lot of topics in Glue and FlatRedBall. This last tutorial will clean up the game. All games require some polish and clean up before being finished. Normally this phase of game development takes a lot longer and covers far more[…]

Inheriting from Sprite

Inheriting from the Sprite Class In general it is not recommended to inherit from the Sprite class. This can reslt in cluttered interfaces and improper instantiation of objects. Instead, we recommend using the Entity pattern for your game objects. However, if you are sure that inheriting from the Sprite class is the only solution to[…]

RemoveSelfFromListsBelongingTo

Introduction One of the most useful yet least understood features of PositionedObjects is their two-way relationship with AttachableLists. Before reading this article you may want to check this article to understand how two-way relationships work. The RemoveSelfFromListsBelongingTo method does essentially what the name says – it removes the calling PositionedObject from any AttachableLists that it[…]

CLR Profiler

Introduction The CLR Profiler (CLR meaning Common Language Runtime) is a program created by Microsoft which gives detailed information about memory allocation and method calls. It is an invaluable tool for identifying areas of code which allocate too much memory. The CLR Profiler can give you information about where your project is allocating memory, which[…]

FlatRedBall.Math.PositionedObjectList

Introduction The PositionedObjectList is an object which can store lists of PositionedObjects. It is the base class of the SpriteList class and is commonly used to store lists of Entities and shapes such as Polygons. The PositionedObjectList inherits from the AttachableList and it establishes two-way relationships with objects that are added to it. Common Usage[…]

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.[…]