Contents
How to get content to load in MonoGame?
These days MonoGame has it’s own Pipeline tool for processing content into XNB files. The first thing to try would be to process your SpriteFont using the new Pipeline. This way you can avoid the need to depend on XNA altogether.
How to add new content to your game?
You can add content to your game in one of the following ways: 1 Add Existing Item toolbar button 2 Edit > Add > Existing Item… menu button 3 right-click > Add > Existing Item… context menu More
What is the refcounted class in a DLL?
Your RefCounted class is IUnknown. Your abstract class is an interface. A COM server in a DLL has an entrypoint named DllGetClassObject (), it is a class factory. There is lots of documentation available from Microsoft on COM, poke around a bit to see how they did it.
How is inheritance used to create new classes?
Inheritance enables you to create new classes that reuse, extend, and modify the behavior defined in other classes. The class whose members are inherited is called the base class, and the class that inherits those members is called the derived class. A derived class can have only one direct base class.
When to use MGCB in MonoGame build process?
Typically, it is executed by the MGCB Editor when editing content or by MonoGame.Content.Builder.Task during the build process of a MonoGame project. Alternatively you can use it yourself from the command line for specialized build pipelines or for debugging content processing.
Why is MonoGame dependent on the content pipeline?
Just to be very clear, MonoGame is in no way dependent on the pipeline and indeed is not dependent even on .xnb files. When i first started using monogame, the content pipeline still needed you to install xna. so i went out and wrote my own binary file formats for all of my game resources.
What is the default content processor in MonoGame?
An optional parameter which defines the class name of the content processor for processing imported content. If the option is omitted used without a class name the default content processor for the imported content is used. Note that when you change the processor all previously defined /processorParam are cleared.