This is an old revision of the document!
Table of Contents
The Code Snippets
A section filled with standalone or extensive code snippets to aid in your development process.
I will endeavour to organise these with suitable headings and names, along with explanations of what the code does.
Short Snippets
Simple code that can be copied and pasted to achieve a simple function, such as printing simple debug data to the debug console.
Platform Info
Ever load an old project and not sure if it was DesktopDX or DesktopGL? or Windows or Linux? This snippet helps answer that question.
Did you know you can start your game while assets are still loading? here is a basic example of it.
Long Snippets
Code that is a little longer than 5-10 lines of code excluding comments.
Ever wanted to just use the actual game window and do away with the window frame? give this a try, and you can still drag the window around!
Loading and Drawing Tiled Maps
This is a roll your own implementation for loading Tiled maps, you can also use MonoGame.Extended to load them too, but this helps you to understand the roll your own process.
Multi Part Snippets
Code that has multiple class files to function.
Entire Base Codes
Code that requires extensive setup across multiple files.
All Your Base Are Belong To Us Codes
Code that might take a little more than an hour to set up properly, maybe, not really.